summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNonStandardModel <33322918+NonStandardModel@users.noreply.github.com>2021-06-01 21:48:01 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-02 18:10:06 +0200
commita7d3709e1c34d9ba0c8a6aeff1ed28d18c7bee8d (patch)
treeb17a9974aa9482bc3ea89370888c2a682fc38935
parent9e3fb73169994b221be6bde58d323f8d101cb12c (diff)
downloadserenity-a7d3709e1c34d9ba0c8a6aeff1ed28d18c7bee8d.zip
KeyboardMapper: Add default path to keymaps
-rw-r--r--Userland/Applications/KeyboardMapper/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/KeyboardMapper/main.cpp b/Userland/Applications/KeyboardMapper/main.cpp
index b87efa5e3b..095aafa0db 100644
--- a/Userland/Applications/KeyboardMapper/main.cpp
+++ b/Userland/Applications/KeyboardMapper/main.cpp
@@ -57,7 +57,7 @@ int main(int argc, char** argv)
auto open_action = GUI::CommonActions::make_open_action(
[&](auto&) {
- Optional<String> path = GUI::FilePicker::get_open_filepath(window, "Open");
+ Optional<String> path = GUI::FilePicker::get_open_filepath(window, "Open", "/res/keymaps/");
if (path.has_value()) {
keyboard_mapper_widget->load_from_file(path.value());
}