mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 21:10:30 +00:00
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:
parent
b8969ffe97
commit
61d214eab1
Notes:
sideshowbarker
2024-07-17 08:36:27 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/61d214eab1 Pull-request: https://github.com/SerenityOS/serenity/pull/16566
1 changed files with 1 additions and 0 deletions
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue