Merge pull request #26867 from bojidar-bg/26816-graphnode-title

Fix cursor going to start while editing GraphNode's title
This commit is contained in:
Rémi Verschelde 2019-03-10 11:50:49 +01:00 committed by GitHub
commit 59aa79f218
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {