From d694af8be007daf8fbe24c9f9f05c6f89976e4a6 Mon Sep 17 00:00:00 2001 From: Samu698 Date: Sun, 13 Mar 2022 18:41:47 +0100 Subject: [PATCH] HexEditor: Offset segment in status bar opens goto offset dialog --- Userland/Applications/HexEditor/HexEditorWidget.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); }