From 26223fe8553c1c623be8b5aaad2ccf31ee5948d3 Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Tue, 19 Jul 2022 07:57:43 -0400 Subject: [PATCH] Don't process input in hidden EditorProperty. This causes EditorProperty nodes to intercept input events even when the Editor Properties dialog is not visible. This means that after closing the dialog, ctrl+shift+c will still copy the last selected property path. Fixes #62866. --- editor/editor_inspector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 32a64f64e87..bca060a6457 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -569,7 +569,7 @@ void EditorProperty::_gui_input(const Ref &p_event) { } void EditorProperty::_unhandled_key_input(const Ref &p_event) { - if (!selected) { + if (!selected || !is_visible_in_tree()) { return; }