mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
KeyboardMapper: Add default path to keymaps
This commit is contained in:
parent
9e3fb73169
commit
a7d3709e1c
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue