summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-30 10:15:56 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-30 10:15:56 -0700
commit879482e97758ca6bd4192b1892d6bdf096c9c739 (patch)
treed6e61db84c8c6f3bfd5f318b8a953cdd048fc04b /mobile-widgets/qmlmanager.cpp
parent711e5e76e8dfa5ed991d83c78f8e9ce51318e016 (diff)
downloadsubsurface-879482e97758ca6bd4192b1892d6bdf096c9c739.tar.gz
QML UI: forceRemoteSync means connect even without unsaved changes
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 0989a109c..56c99be80 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -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;
}