QML UI: forceRemoteSync means connect even without unsaved changes

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-30 10:15:56 -07:00
parent 711e5e76e8
commit 879482e977

View file

@ -914,7 +914,7 @@ void QMLManager::saveChangesLocal()
void QMLManager::saveChangesCloud(bool forceRemoteSync) void QMLManager::saveChangesCloud(bool forceRemoteSync)
{ {
if (!unsaved_changes()) { if (!unsaved_changes() && !forceRemoteSync) {
appendTextToLog("asked to save changes but no unsaved changes"); appendTextToLog("asked to save changes but no unsaved changes");
return; return;
} }