Skip to content

Commit d694af8

Browse files
Samu698awesomekling
authored andcommitted
HexEditor: Offset segment in status bar opens goto offset dialog
1 parent a562518 commit d694af8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Userland/Applications/HexEditor/HexEditorWidget.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ HexEditorWidget::HexEditorWidget()
190190
m_toolbar->add_action(*m_find_action);
191191
m_toolbar->add_action(*m_goto_offset_action);
192192

193+
m_statusbar->segment(0).set_clickable(true);
194+
m_statusbar->segment(0).set_action(*m_goto_offset_action);
195+
193196
m_editor->set_focus(true);
194197
}
195198

0 commit comments

Comments
 (0)