diff options
author | Edi Cikovic <edi.cikovic@gmail.com> | 2019-11-01 13:03:57 +0100 |
---|---|---|
committer | Edi Cikovic <edi.cikovic@gmail.com> | 2019-11-01 13:03:57 +0100 |
commit | d14d57120db97aa1b3a758be822be9430bbec7ed (patch) | |
tree | c3cfecd3b04631cdf74420f3dedd8144e3dd146e | |
parent | b8daad97790a2bb855336b94525d74153c966e0b (diff) |
Fix Batch Rename not opening
-rw-r--r-- | editor/scene_tree_dock.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 0884620e5d..beead9e7f1 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -340,8 +340,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) { if (!profile_allow_editing) { break; } - Tree *tree = scene_tree->get_scene_tree(); - if (tree->is_anything_selected()) { + if (editor_selection->get_selected_node_list().size() > 1) { rename_dialog->popup_centered(); } } break; |