mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-13 19:15:07 -04:00
[MOS-1020] Fix for losing unsaved data
Fix for losing unsaved data when the user click the BACK button while creating or editing note/contact.
This commit is contained in:
@@ -124,6 +124,10 @@ namespace app
|
||||
windowsFactory.attach(window::name::option_window, [](ApplicationCommon *app, const std::string &name) {
|
||||
return std::make_unique<gui::OptionWindow>(app, name);
|
||||
});
|
||||
windowsFactory.attach(gui::name::window::notes_dialog_yes_no,
|
||||
[](ApplicationCommon *app, const std::string &name) {
|
||||
return std::make_unique<gui::DialogYesNo>(app, name);
|
||||
});
|
||||
|
||||
attachPopups({gui::popup::ID::Volume,
|
||||
gui::popup::ID::Tethering,
|
||||
|
||||
Reference in New Issue
Block a user