mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +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))) {
|
if (focus_owner && (Object::cast_to<BaseButton>(focus_owner) || Object::cast_to<Range>(focus_owner))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (edit_remote->is_pressed()) {
|
if (!scene_tree->is_visible_in_tree()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_tool_selected(TOOL_RENAME);
|
_tool_selected(TOOL_RENAME);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue