1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:07:44 +00:00

LibGUI: Allow only one CommandPalette at once to be opened

Previously it was possible to open CommandPalette for
a CommandPalette :^)
This commit is contained in:
Maciej 2022-01-30 19:13:39 +01:00 committed by Andreas Kling
parent daec521010
commit 399d1ff961
2 changed files with 3 additions and 1 deletions

View file

@ -58,6 +58,7 @@ private:
virtual void track_mouse_move(Gfx::IntPoint const&) override;
virtual void ping() override;
bool m_in_command_palette { false };
bool m_display_link_notification_pending { false };
i32 m_client_id;
};