summaryrefslogtreecommitdiff
path: root/Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-02-20 12:03:28 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-20 12:19:46 +0100
commit3583b62ad36d8ece413eea5514493bf16fb954f7 (patch)
treec91686af537213dc64813d9b8935f22d64ba1598 /Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp
parent3b9f110161bc78d8534a29e3f14030e1f5a15574 (diff)
downloadserenity-3583b62ad36d8ece413eea5514493bf16fb954f7.zip
LibGUI: Swap order of InputBox value and parent window args
This is now consistent with the other dialog classes.
Diffstat (limited to 'Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp')
-rw-r--r--Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp b/Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp
index 3c88339b71..180b2a4837 100644
--- a/Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp
+++ b/Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp
@@ -67,7 +67,7 @@ void KeyboardMapperWidget::create_frame()
tmp_button.on_click = [this, &tmp_button]() {
String value;
- if (GUI::InputBox::show(value, window(), "New Character:", "Select Character") == GUI::InputBox::ExecOK) {
+ if (GUI::InputBox::show(window(), value, "New Character:", "Select Character") == GUI::InputBox::ExecOK) {
int i = m_keys.find_first_index(&tmp_button).value_or(0);
ASSERT(i > 0);