summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2019-08-04 15:35:50 +0200
committerTomasz Chabora <kobewi4e@gmail.com>2019-08-04 15:35:50 +0200
commitb65f6f794425d208470395e5f3e1dc6deef363c7 (patch)
treeb39e9b2edababfc04df169957e151459a84937c0 /scene
parent7126654eafc5a50a782bfbcdcfcb243807662eab (diff)
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;
}