Fix cursor going to start while editing GraphNode's title

Fixes #26816
This commit is contained in:
Bojidar Marinov 2019-03-10 12:22:15 +02:00
parent 69ea7da766
commit 964152ed71
No known key found for this signature in database
GPG key ID: 4D546A8F1E091856

View file

@ -164,7 +164,6 @@ void GraphNode::_resort() {
vofs += size.y;
}
_change_notify();
update();
connpos_dirty = true;
}
@ -409,9 +408,12 @@ Size2 GraphNode::get_minimum_size() const {
void GraphNode::set_title(const String &p_title) {
if (title == p_title)
return;
title = p_title;
minimum_size_changed();
update();
_change_notify("title");
minimum_size_changed();
}
String GraphNode::get_title() const {