diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-30 10:15:56 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-30 10:15:56 -0700 |
commit | 879482e97758ca6bd4192b1892d6bdf096c9c739 (patch) | |
tree | d6e61db84c8c6f3bfd5f318b8a953cdd048fc04b | |
parent | 711e5e76e8dfa5ed991d83c78f8e9ce51318e016 (diff) | |
download | subsurface-879482e97758ca6bd4192b1892d6bdf096c9c739.tar.gz |
QML UI: forceRemoteSync means connect even without unsaved changes
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 2 |
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; } |