mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 11:39:43 +00:00
LibGUI: Set focus proxy for CommandPalette's TableView
This commit is contained in:
parent
3b18226fcb
commit
657ff1cd19
Notes:
sideshowbarker
2024-07-17 05:58:46 +09:00
Author: https://github.com/thankyouverycool
Commit: 657ff1cd19
Pull-request: https://github.com/SerenityOS/serenity/pull/16098
1 changed files with 1 additions and 0 deletions
|
@ -199,6 +199,7 @@ CommandPalette::CommandPalette(GUI::Window& parent_window, ScreenPosition screen
|
|||
|
||||
m_table_view->set_column_painting_delegate(0, make<ActionIconDelegate>());
|
||||
m_table_view->set_model(*m_filter_model);
|
||||
m_table_view->set_focus_proxy(m_text_box);
|
||||
|
||||
m_text_box->on_change = [this] {
|
||||
m_filter_model->set_filter_term(m_text_box->text());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue