Skip to content

Commit

Permalink
fixed small refresh issue when moving docks
Browse files Browse the repository at this point in the history
  • Loading branch information
reduz committed Jun 14, 2015
1 parent 7674bad commit f2a29aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/editor/editor_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3458,7 +3458,11 @@ void EditorNode::_dock_select_input(const InputEvent& p_input) {
if (dock_slot[dock_popup_selected]->get_tab_count()==0) {
dock_slot[dock_popup_selected]->hide();

} else {

dock_slot[dock_popup_selected]->set_current_tab(0);
}

print_line("performing reparent");
dock_slot[nrect]->add_child(dock);
dock_popup_selected=nrect;
Expand Down

0 comments on commit f2a29aa

Please sign in to comment.