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:
Ben Wiederhake 2021-01-30 22:33:00 +01:00 committed by Andreas Kling
parent 6c04629ff8
commit 4deb0f8343
Notes: sideshowbarker 2024-07-18 22:41:06 +09:00

View File

@ -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)