summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-05 09:02:04 +0200
committerGitHub <noreply@github.com>2019-08-05 09:02:04 +0200
commit2b983f9c74ba0313243a37b84d1ec39731d39fcb (patch)
tree37d73108b814d069c71dd9c43119969244e9f747 /scene
parent7d5ad99cde20099f62923ecf9c47002c41ce2336 (diff)
parentb65f6f794425d208470395e5f3e1dc6deef363c7 (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.cpp1
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;
}