Browse Source

HexEditor: Offset segment in status bar opens goto offset dialog

Samu698 3 years ago
parent
commit
d694af8be0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Userland/Applications/HexEditor/HexEditorWidget.cpp

+ 3 - 0
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);
 }