mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:03:23 +00:00
QML UI: forceRemoteSync means connect even without unsaved changes
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
711e5e76e8
commit
879482e977
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ void QMLManager::saveChangesLocal()
|
|||
|
||||
void QMLManager::saveChangesCloud(bool forceRemoteSync)
|
||||
{
|
||||
if (!unsaved_changes()) {
|
||||
if (!unsaved_changes() && !forceRemoteSync) {
|
||||
appendTextToLog("asked to save changes but no unsaved changes");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue