Fix crash when click icon while editing node name
(cherry picked from commit 3ae0ffa182
)
This commit is contained in:
parent
96e0fd5570
commit
db6d9cdc22
|
@ -833,6 +833,7 @@ void Tree::update_cache() {
|
||||||
cache.title_button_color = get_color("title_button_color");
|
cache.title_button_color = get_color("title_button_color");
|
||||||
|
|
||||||
v_scroll->set_custom_step(cache.font->get_height());
|
v_scroll->set_custom_step(cache.font->get_height());
|
||||||
|
cache.click_item=get_selected();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue