From d14d57120db97aa1b3a758be822be9430bbec7ed Mon Sep 17 00:00:00 2001 From: Edi Cikovic Date: Fri, 1 Nov 2019 13:03:57 +0100 Subject: Fix Batch Rename not opening --- editor/scene_tree_dock.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'editor') 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; -- cgit v1.2.3