mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Correctly handle the webservice userid in preferences
Because of the way that the webservice userid can be saved both in the preferences and in a data file it was treated differently than other preferences settings - which prevented the reset of the preferences from actually clearing it. This patch makes sure that if the preferences are reset the preferences UI reflects that. To make this work the data file loading functions can no longer be allowed to just simply clear out the userid preference value just in case they might load a new one. Fixes #939 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e5fa424a67
commit
2e6afb8e89
4 changed files with 4 additions and 2 deletions
|
@ -239,6 +239,7 @@ void PreferencesDialog::setUiFromPrefs()
|
|||
ui.save_password_local->setChecked(prefs.save_password_local);
|
||||
cloudPinNeeded();
|
||||
ui.cloud_background_sync->setChecked(prefs.cloud_background_sync);
|
||||
ui.default_uid->setText(prefs.userid);
|
||||
|
||||
// GeoManagement
|
||||
#ifdef DISABLED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue