diff options
author | Samu698 <samu2altervista@gmail.com> | 2022-03-13 18:41:47 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-14 22:48:16 +0100 |
commit | d694af8be007daf8fbe24c9f9f05c6f89976e4a6 (patch) | |
tree | ba740fcf299b3eddd011d012a44199237a8284b9 | |
parent | a562518ad7af05a2ef16b1e5d470fcd6fbf0ff6a (diff) | |
download | serenity-d694af8be007daf8fbe24c9f9f05c6f89976e4a6.zip |
HexEditor: Offset segment in status bar opens goto offset dialog
-rw-r--r-- | Userland/Applications/HexEditor/HexEditorWidget.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Applications/HexEditor/HexEditorWidget.cpp b/Userland/Applications/HexEditor/HexEditorWidget.cpp index 5b09e55d10..578c1629e7 100644 --- a/Userland/Applications/HexEditor/HexEditorWidget.cpp +++ b/Userland/Applications/HexEditor/HexEditorWidget.cpp @@ -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); } |