diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-08-05 09:02:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-05 09:02:04 +0200 |
commit | 2b983f9c74ba0313243a37b84d1ec39731d39fcb (patch) | |
tree | 37d73108b814d069c71dd9c43119969244e9f747 /scene | |
parent | 7d5ad99cde20099f62923ecf9c47002c41ce2336 (diff) | |
parent | b65f6f794425d208470395e5f3e1dc6deef363c7 (diff) |
Merge pull request #31075 from KoBeWi/right_for_acceptance
Accept also right-click event in LineEdit
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/line_edit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index d5347edb87..ccdc95696c 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -59,6 +59,7 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) { menu->set_scale(get_global_transform().get_scale()); menu->popup(); grab_focus(); + accept_event(); return; } |