diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-02-26 20:28:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-26 20:28:00 +0100 |
commit | 4d6a3cf7fcd2a7f777ede47120c987f0c545ee80 (patch) | |
tree | 949c4c80f72b541fab6e878d380504f3d1cb7ea3 | |
parent | 3abd4c906dfe6e310b448a0b2a5ecb1c2c25388a (diff) | |
parent | 3ae0ffa1829905bdee1744cab8907f497202b14a (diff) |
Merge pull request #7874 from volzhs/issue-7820-master
Fix crash when click icon while editing node name
-rw-r--r-- | scene/gui/tree.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index 7bfc24079b..cd93c13c99 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -848,6 +848,7 @@ void Tree::update_cache() { cache.title_button_color = get_color("title_button_color"); v_scroll->set_custom_step(cache.font->get_height()); + cache.click_item=get_selected(); } |