summaryrefslogtreecommitdiff
path: root/Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-01-30 22:33:00 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-01 09:54:32 +0100
commit4deb0f834364c767012a6b3e9b3a5481ba2e116e (patch)
treea68d9b6bae8903f0426f09fc8fff4372534f9f66 /Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp
parent6c04629ff8cd24dd940e01e7c5ea3fb22554829e (diff)
downloadserenity-4deb0f834364c767012a6b3e9b3a5481ba2e116e.zip
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.
Diffstat (limited to 'Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp')
-rw-r--r--Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp b/Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp
index 492de94421..bb786814de 100644
--- a/Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp
+++ b/Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp
@@ -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)