Merge pull request #31075 from KoBeWi/right_for_acceptance
Accept also right-click event in LineEdit
This commit is contained in:
commit
2b983f9c74
1 changed files with 1 additions and 0 deletions
|
@ -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