mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 02:03:24 +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)
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue