mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +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
1 changed files with 0 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue