You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Don't rename nodes when tree is invisible
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user