mirror of
https://github.com/godotengine/godot
synced 2024-09-19 14:28:05 +00:00
Accept also right-click event in LineEdit
This commit is contained in:
parent
7126654eaf
commit
b65f6f7944
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue