mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibGUI: Swap order of InputBox value and parent window args
This is now consistent with the other dialog classes.
This commit is contained in:
committed by
Andreas Kling
parent
3b9f110161
commit
3583b62ad3
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user