diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-06-14 01:09:58 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-06-14 01:09:58 -0300 |
commit | f2a29aadc620c2296e08ca20e926b54191c37540 (patch) | |
tree | 834bad5f28e23c682cf8c6419344e73ad1cf41b6 /tools/editor | |
parent | 7674bad6c45e32be815301ba0eeeb032b1c627d8 (diff) |
fixed small refresh issue when moving docks
Diffstat (limited to 'tools/editor')
-rw-r--r-- | tools/editor/editor_node.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index 1fa42291a5..373c8aba73 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -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; |