mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
fix crash when opening profile from profile manager
This commit is contained in:
parent
76e508e25d
commit
017984c15c
1 changed files with 1 additions and 1 deletions
|
@ -153,8 +153,8 @@ class AnkiQt(QMainWindow):
|
||||||
if not self.openProfile():
|
if not self.openProfile():
|
||||||
showWarning(_("Invalid password."))
|
showWarning(_("Invalid password."))
|
||||||
return
|
return
|
||||||
self.profileDiag.close()
|
|
||||||
self.loadProfile()
|
self.loadProfile()
|
||||||
|
self.profileDiag.close()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def profileNameOk(self, str):
|
def profileNameOk(self, str):
|
||||||
|
|
Loading…
Reference in a new issue