mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Don't rename nodes when tree is invisible
This commit is contained in:
parent
9a3976097f
commit
4fd9b45189
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ void SceneTreeDock::shortcut_input(const Ref<InputEvent> &p_event) {
|
|||
if (focus_owner && (Object::cast_to<BaseButton>(focus_owner) || Object::cast_to<Range>(focus_owner))) {
|
||||
return;
|
||||
}
|
||||
if (edit_remote->is_pressed()) {
|
||||
if (!scene_tree->is_visible_in_tree()) {
|
||||
return;
|
||||
}
|
||||
_tool_selected(TOOL_RENAME);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue