mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: don't claim to be accessing the cloud when you are not
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fcb308fdf2
commit
8224b87b7a
1 changed files with 2 additions and 2 deletions
|
@ -700,8 +700,8 @@ void QMLManager::saveChanges()
|
||||||
appendTextToLog(get_error_string());
|
appendTextToLog(get_error_string());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (prefs.git_local_only == false)
|
||||||
setAccessingCloud(true);
|
setAccessingCloud(true);
|
||||||
if (save_dives(fileName.toUtf8().data())) {
|
if (save_dives(fileName.toUtf8().data())) {
|
||||||
appendTextToLog(get_error_string());
|
appendTextToLog(get_error_string());
|
||||||
setAccessingCloud(false);
|
setAccessingCloud(false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue