summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2023-04-16 16:07:45 -0400
committerAndreas Kling <kling@serenityos.org>2023-04-18 10:05:21 +0200
commitbc8b409a3cde064dcedd7d037e2780dedd321e52 (patch)
treebfbaee3c7ff2fbb12fa2eb266a38e39532db865e
parent8d86f2e69f9f06ed3cc80aee879b66d898bd5af5 (diff)
downloadserenity-bc8b409a3cde064dcedd7d037e2780dedd321e52.zip
FontEditor: Use compact InputBox for Go to Glyph action
-rw-r--r--Userland/Applications/FontEditor/MainWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/FontEditor/MainWidget.cpp b/Userland/Applications/FontEditor/MainWidget.cpp
index 407c7dd294..135a34aafb 100644
--- a/Userland/Applications/FontEditor/MainWidget.cpp
+++ b/Userland/Applications/FontEditor/MainWidget.cpp
@@ -243,7 +243,7 @@ ErrorOr<void> MainWidget::create_actions()
m_go_to_glyph_action = GUI::Action::create("&Go to Glyph...", { Mod_Ctrl, Key_G }, TRY(Gfx::Bitmap::load_from_file("/res/icons/16x16/go-to.png"sv)), [&](auto&) {
String input;
- if (GUI::InputBox::show(window(), input, "Hexadecimal:"sv, "Go to glyph"sv, GUI::InputType::NonemptyText) == GUI::InputBox::ExecResult::OK) {
+ if (GUI::InputBox::show(window(), input, {}, "Go to glyph"sv, GUI::InputType::NonemptyText, "Hexadecimal"sv) == GUI::InputBox::ExecResult::OK) {
auto maybe_code_point = AK::StringUtils::convert_to_uint_from_hex(input);
if (!maybe_code_point.has_value())
return;