Merge pull request #33232 from kraghot/Fix-Batch-Rename

Fix Batch Rename not opening
This commit is contained in:
Rémi Verschelde 2019-11-01 14:00:40 +01:00 committed by GitHub
commit c12797fb31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;