fix crash when opening profile from profile manager

This commit is contained in:
Damien Elmes 2017-06-06 16:09:15 +10:00
parent 76e508e25d
commit 017984c15c

View File

@ -153,8 +153,8 @@ class AnkiQt(QMainWindow):
if not self.openProfile():
showWarning(_("Invalid password."))
return
self.profileDiag.close()
self.loadProfile()
self.profileDiag.close()
return True
def profileNameOk(self, str):