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:
Rémi Verschelde 2021-09-14 13:04:57 +02:00 committed by GitHub
commit de3bc8d294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}