mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
* Fix sync login with custom server URL Call update_network() before showing login dialog to ensure the custom sync server URL is saved before attempting login. Previously, the custom URL was only saved when closing the preferences dialog, causing login to fail on first attempt. Fixes #4395 * Add contributor info
This commit is contained in:
parent
321e23acb2
commit
d24d2e3394
2 changed files with 2 additions and 0 deletions
|
|
@ -251,6 +251,7 @@ Matbe766 <matildabergstrom01@gmail.com>
|
||||||
Amanda Sternberg <mandis.sternberg@gmail.com>
|
Amanda Sternberg <mandis.sternberg@gmail.com>
|
||||||
arold0 <arold0@icloud.com>
|
arold0 <arold0@icloud.com>
|
||||||
nav1s <nav1s@proton.me>
|
nav1s <nav1s@proton.me>
|
||||||
|
Ranjit Odedra <ranjitodedra.dev@gmail.com>
|
||||||
|
|
||||||
********************
|
********************
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -260,6 +260,7 @@ class Preferences(QDialog):
|
||||||
self.update_login_status()
|
self.update_login_status()
|
||||||
self.confirm_sync_after_login()
|
self.confirm_sync_after_login()
|
||||||
|
|
||||||
|
self.update_network()
|
||||||
sync_login(self.mw, on_success)
|
sync_login(self.mw, on_success)
|
||||||
|
|
||||||
def sync_logout(self) -> None:
|
def sync_logout(self) -> None:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue