From b65f6f794425d208470395e5f3e1dc6deef363c7 Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Sun, 4 Aug 2019 15:35:50 +0200 Subject: [PATCH] Accept also right-click event in LineEdit --- scene/gui/line_edit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index d5347edb876..ccdc95696cc 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -59,6 +59,7 @@ void LineEdit::_gui_input(Ref p_event) { menu->set_scale(get_global_transform().get_scale()); menu->popup(); grab_focus(); + accept_event(); return; }