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