diff options
author | jmb462 <jmb462@gmail.com> | 2021-08-30 17:33:01 +0200 |
---|---|---|
committer | jmb462 <jmb462@gmail.com> | 2021-08-30 17:33:01 +0200 |
commit | 91974057a5ebacd0b4e09713df692b16f4100e76 (patch) | |
tree | 71bc291e2c570aae8f819107498bb74d15bf8ae0 | |
parent | efc87481e45c66b3a18dfe1db82c3289fe2a370d (diff) |
Fix CTRL+V doesn't work properly in inspector textedit
-rw-r--r-- | editor/editor_inspector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<InputEvent> &p_event) { } void EditorProperty::unhandled_key_input(const Ref<InputEvent> &p_event) { - if (!selected) { + if (!selected || !p_event->is_pressed()) { return; } |