mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 01:59:14 +03:00
HexEditor: Offset segment in status bar opens goto offset dialog
This commit is contained in:
parent
a562518ad7
commit
d694af8be0
Notes:
sideshowbarker
2024-07-19 17:07:17 +09:00
Author: https://github.com/samu698 Commit: https://github.com/SerenityOS/serenity/commit/d694af8be00 Pull-request: https://github.com/SerenityOS/serenity/pull/13031
@ -190,6 +190,9 @@ HexEditorWidget::HexEditorWidget()
|
||||
m_toolbar->add_action(*m_find_action);
|
||||
m_toolbar->add_action(*m_goto_offset_action);
|
||||
|
||||
m_statusbar->segment(0).set_clickable(true);
|
||||
m_statusbar->segment(0).set_action(*m_goto_offset_action);
|
||||
|
||||
m_editor->set_focus(true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user