From 91974057a5ebacd0b4e09713df692b16f4100e76 Mon Sep 17 00:00:00 2001 From: jmb462 Date: Mon, 30 Aug 2021 17:33:01 +0200 Subject: [PATCH] Fix CTRL+V doesn't work properly in inspector textedit --- 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 fee27dae589..53344e60008 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; }