From 7f15604f7238f8726b2ffc990bd0b8b172d6ff3a Mon Sep 17 00:00:00 2001 From: Jami Kettunen Date: Tue, 31 Dec 2019 23:42:41 +0200 Subject: [PATCH] HexEditor: Clarify in InputBox which offset (Hex/Dec) you're Going To --- Applications/HexEditor/HexEditorWidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/HexEditor/HexEditorWidget.cpp b/Applications/HexEditor/HexEditorWidget.cpp index f38213a2c0..6b8a2ac852 100644 --- a/Applications/HexEditor/HexEditorWidget.cpp +++ b/Applications/HexEditor/HexEditorWidget.cpp @@ -128,7 +128,7 @@ HexEditorWidget::HexEditorWidget() } m_goto_decimal_offset_action = GAction::create("Go To Offset (Decimal)...", GraphicsBitmap::load_from_file("/res/icons/16x16/go-forward.png"), [this](const GAction&) { - auto input_box = GInputBox::construct("Enter offset:", "Go To", this); + auto input_box = GInputBox::construct("Enter Decimal offset:", "Go To", this); if (input_box->exec() == GInputBox::ExecOK && !input_box->text_value().is_empty()) { auto valid = false; auto new_offset = input_box->text_value().to_int(valid); @@ -139,7 +139,7 @@ HexEditorWidget::HexEditorWidget() }); m_goto_hex_offset_action = GAction::create("Go To Offset (Hex)...", GraphicsBitmap::load_from_file("/res/icons/16x16/go-forward.png"), [this](const GAction&) { - auto input_box = GInputBox::construct("Enter offset:", "Go To", this); + auto input_box = GInputBox::construct("Enter Hex offset:", "Go To", this); if (input_box->exec() == GInputBox::ExecOK && !input_box->text_value().is_empty()) { auto new_offset = strtol(input_box->text_value().characters(), nullptr, 16); m_editor->set_position(new_offset);