mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-03 14:50:02 +00:00
KeyboardMapper: Remove duplicate 'save' button
There already is a standard action in the menu, and Ctrl-S also works. No need to have an extra button for that.
This commit is contained in:
parent
6c04629ff8
commit
4deb0f8343
Notes:
sideshowbarker
2024-07-18 22:41:06 +09:00
Author: https://github.com/BenWiederhake
Commit: 4deb0f8343
Pull-request: https://github.com/SerenityOS/serenity/pull/5192
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bcoles
Reviewed-by: https://github.com/emanuele6
Reviewed-by: https://github.com/linusg
1 changed files with 0 additions and 7 deletions
|
@ -140,13 +140,6 @@ void KeyboardMapperWidget::create_frame()
|
||||||
};
|
};
|
||||||
|
|
||||||
bottom_widget.layout()->add_spacer();
|
bottom_widget.layout()->add_spacer();
|
||||||
|
|
||||||
auto& ok_button = bottom_widget.add<GUI::Button>();
|
|
||||||
ok_button.set_text("Save");
|
|
||||||
ok_button.set_fixed_width(80);
|
|
||||||
ok_button.on_click = [this](auto) {
|
|
||||||
save();
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void KeyboardMapperWidget::load_from_file(String file_name)
|
void KeyboardMapperWidget::load_from_file(String file_name)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue