1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:47:36 +00:00

LibGUI: Set focus proxy for CommandPalette's TableView

This commit is contained in:
thankyouverycool 2022-11-17 10:42:11 -05:00 committed by Andreas Kling
parent 3b18226fcb
commit 657ff1cd19

View file

@ -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());