mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
mobile/undo: set undo stack as clean after save
If we're using the undo stack for determining the whether there are unsaved changes, we have to mark the undo stack as clean after save. This duplicates code from desktop. It is planned to unify this in the near future. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
a6567a0070
commit
1de56d468f
1 changed files with 1 additions and 0 deletions
|
@ -1341,6 +1341,7 @@ void QMLManager::saveChangesLocal()
|
|||
return;
|
||||
}
|
||||
mark_divelist_changed(false);
|
||||
Command::setClean();
|
||||
} else {
|
||||
appendTextToLog("local save requested with no unsaved changes");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue