KeyboardMapper: Reset modified flag after loading a file

This commit is contained in:
Karol Kosek 2021-11-07 10:55:33 +01:00 committed by Linus Groh
parent 2fd7506212
commit ae9e4c6f26
Notes: sideshowbarker 2024-07-17 17:47:19 +09:00

View file

@ -124,6 +124,7 @@ ErrorOr<void> KeyboardMapperWidget::load_map_from_file(const String& filename)
radio_button.set_checked(radio_button.name() == "map");
}
window()->set_modified(false);
update_window_title();
return {};
}