diff --git a/aqt/preferences.py b/aqt/preferences.py
index 5d9bb75f2..19d2c2ba6 100644
--- a/aqt/preferences.py
+++ b/aqt/preferences.py
@@ -83,11 +83,13 @@ class Preferences(QDialog):
if not self.prof['syncKey']:
self._hideAuth()
else:
+ self.form.syncUser.setText(self.prof.get('syncUser', ""))
self.connect(self.form.syncDeauth, SIGNAL("clicked()"),
self.onSyncDeauth)
def _hideAuth(self):
self.form.syncDeauth.setVisible(False)
+ self.form.syncUser.setText("")
self.form.syncLabel.setText(_("""\
Synchronization
Not currently enabled; click the sync button in the main window to enable."""))
diff --git a/designer/preferences.ui b/designer/preferences.ui
index 43a7e71e8..03b96e11f 100644
--- a/designer/preferences.ui
+++ b/designer/preferences.ui
@@ -243,6 +243,13 @@
+ -
+
+
+
+
+
+
-