mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +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
|
@ -115,7 +115,6 @@ ComboBox::ComboBox()
|
|||
m_list_window = add<Window>(window());
|
||||
m_list_window->set_frameless(true);
|
||||
m_list_window->set_window_mode(WindowMode::CaptureInput);
|
||||
m_list_window->set_blocks_command_palette(true);
|
||||
m_list_window->on_active_input_change = [this](bool is_active_input) {
|
||||
if (!is_active_input) {
|
||||
m_open_button->set_enabled(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue