Merge pull request #52259 from jmb462/fix-ctrl-V-wrong-behavior-in-inspector-textedit
Fix Ctrl+V wrong behavior in inspector textedit (Fix #52208)
This commit is contained in:
commit
de3bc8d294
|
@ -799,7 +799,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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue