Fix crash when click icon while editing node name

This commit is contained in:
volzhs 2017-02-23 02:20:46 +09:00
parent f6950956bd
commit 3ae0ffa182

View File

@ -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();
}