FontEditor: Set Unicode ListView's focus proxy to its search box

Provides a visual cue that arrow key input is shared between these
widgets.
This commit is contained in:
thankyouverycool 2022-12-15 07:17:09 -05:00 committed by Andreas Kling
parent b8969ffe97
commit 61d214eab1
Notes: sideshowbarker 2024-07-17 08:36:27 +09:00

View file

@ -399,6 +399,7 @@ ErrorOr<void> MainWidget::create_models()
m_unicode_block_listview->set_activates_on_selection(true);
m_unicode_block_listview->horizontal_scrollbar().set_visible(false);
m_unicode_block_listview->set_cursor(m_unicode_block_model->index(0, 0), GUI::AbstractView::SelectionUpdate::Set);
m_unicode_block_listview->set_focus_proxy(m_search_textbox);
return {};
}