mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:58:11 +00:00
LibGUI: Don't invoke non-visible shortcuts
This commit is contained in:
parent
8ffe91c2f7
commit
5ed78d39dd
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ Action::~Action()
|
|||
|
||||
void Action::process_event(Window& window, Event& event)
|
||||
{
|
||||
if (is_enabled()) {
|
||||
if (is_enabled() && is_visible()) {
|
||||
flash_menubar_menu(window);
|
||||
activate();
|
||||
event.accept();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue