mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: correctly check cloud verification status
Oops. That's embarrassing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6cf100f1cc
commit
8d83edc48a
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ void QMLManager::saveCloudCredentials()
|
||||||
currentGitLocalOnly = prefs.git_local_only;
|
currentGitLocalOnly = prefs.git_local_only;
|
||||||
prefs.git_local_only = false;
|
prefs.git_local_only = false;
|
||||||
openLocalThenRemote(url);
|
openLocalThenRemote(url);
|
||||||
} else if (prefs.cloud_verification_status = CS_NEED_TO_VERIFY && !cloudPin().isEmpty()) {
|
} else if (prefs.cloud_verification_status == CS_NEED_TO_VERIFY && !cloudPin().isEmpty()) {
|
||||||
// the user entered a PIN?
|
// the user entered a PIN?
|
||||||
tryRetrieveDataFromBackend();
|
tryRetrieveDataFromBackend();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue