parent
537c4daa94
commit
85aac784db
@ -55,6 +55,7 @@ def updateui(self, state):
|
|||||||
self.customServerAddr.setEnabled(state == Qt.Checked)
|
self.customServerAddr.setEnabled(state == Qt.Checked)
|
||||||
|
|
||||||
def setserver():
|
def setserver():
|
||||||
|
if config['enabled']:
|
||||||
aqt.mw.pm.profile['hostNum'] = None
|
aqt.mw.pm.profile['hostNum'] = None
|
||||||
anki.sync.SYNC_BASE = "%s" + config['addr']
|
anki.sync.SYNC_BASE = "%s" + config['addr']
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user