1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

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

View File

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