Fix wrong TreeItem reference after reconstructing

(cherry picked from commit 66b7586fb0)
This commit is contained in:
volzhs 2017-03-03 03:51:23 +09:00 committed by Rémi Verschelde
parent cb2cdce6b8
commit 5ac097a035

View file

@ -833,7 +833,6 @@ 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();
}