mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: preserve auto download status [2/3]
Hook up the new preference to the UI. So now, an earlier choice if automatic or manual download to the cloud is preserved in between sessions. Strictly speaking this fixes issue 1725. Notice that there is also a higly related syncToCloud thing present. As factoring out that seemingly duplicate piece of code is non-trivial, this will be done in a seperate commit. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
91c8a2fa5c
commit
87b8155576
2 changed files with 6 additions and 4 deletions
|
|
@ -144,6 +144,7 @@ Item {
|
|||
text: qsTr("No cloud mode")
|
||||
onClicked: {
|
||||
manager.syncToCloud = false
|
||||
PrefCloudStorage.cloud_auto_sync = false
|
||||
prefs.credentialStatus = CloudStatus.CS_NOCLOUD
|
||||
manager.saveCloudCredentials()
|
||||
manager.openNoCloudRepo()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue