mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:47:35 +00:00
LibGUI: Remove Window::set_blocks_command_palette()
Since the logic to open the command palette is now in the form of an action, its keybinding is only bound when the window active. Thus, when a combo box or the emoji input dialog is active, the window isn't, and the command palette doesn't show up, without requiring special checks.
This commit is contained in:
parent
6bb512d0b2
commit
28c1d7011f
5 changed files with 0 additions and 25 deletions
|
@ -226,9 +226,6 @@ public:
|
|||
Menubar& menubar() { return *m_menubar; }
|
||||
Menubar const& menubar() const { return *m_menubar; }
|
||||
|
||||
void set_blocks_command_palette(bool b) { m_blocks_command_palette = b; }
|
||||
bool blocks_command_palette() const { return m_blocks_command_palette; }
|
||||
|
||||
void set_blocks_emoji_input(bool b) { m_blocks_emoji_input = b; }
|
||||
bool blocks_emoji_input() const { return m_blocks_emoji_input; }
|
||||
|
||||
|
@ -316,7 +313,6 @@ private:
|
|||
bool m_visible_for_timer_purposes { true };
|
||||
bool m_visible { false };
|
||||
bool m_moved_by_client { false };
|
||||
bool m_blocks_command_palette { false };
|
||||
bool m_blocks_emoji_input { false };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue