From 91974057a5ebacd0b4e09713df692b16f4100e76 Mon Sep 17 00:00:00 2001 From: jmb462 Date: Mon, 30 Aug 2021 17:33:01 +0200 Subject: Fix CTRL+V doesn't work properly in inspector textedit --- editor/editor_inspector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index fee27dae58..53344e6000 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -795,7 +795,7 @@ void EditorProperty::gui_input(const Ref &p_event) { } void EditorProperty::unhandled_key_input(const Ref &p_event) { - if (!selected) { + if (!selected || !p_event->is_pressed()) { return; } -- cgit v1.2.3