summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-11-01 14:00:40 +0100
committerGitHub <noreply@github.com>2019-11-01 14:00:40 +0100
commitc12797fb318d8835deb22dd4b63fd232b21ce904 (patch)
tree46e52b2d2864a58e27a3ab6ff656e583be81c877 /editor
parent99cee9038bf4fe049991d0048de8b8d8955bd9c7 (diff)
parentd14d57120db97aa1b3a758be822be9430bbec7ed (diff)
Merge pull request #33232 from kraghot/Fix-Batch-Rename
Fix Batch Rename not opening
Diffstat (limited to 'editor')
-rw-r--r--editor/scene_tree_dock.cpp3
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;