diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2019-08-04 15:35:50 +0200 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2019-08-04 15:35:50 +0200 |
commit | b65f6f794425d208470395e5f3e1dc6deef363c7 (patch) | |
tree | b39e9b2edababfc04df169957e151459a84937c0 /scene | |
parent | 7126654eafc5a50a782bfbcdcfcb243807662eab (diff) |
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; } |