mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 06:02:07 +03: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: https://github.com/SerenityOS/serenity/commit/4deb0f83436 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
@ -140,13 +140,6 @@ void KeyboardMapperWidget::create_frame()
|
||||
};
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user