Skip to content
Snippets Groups Projects
Commit 4734cc71 authored by inso's avatar inso
Browse files

Fixed an error with password_asker still remember password

parent 967339f7
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,7 @@ class PasswordAskerDialog(QDialog, Ui_PasswordAskerDialog): ...@@ -42,6 +42,7 @@ class PasswordAskerDialog(QDialog, Ui_PasswordAskerDialog):
if self.account.check_password(password): if self.account.check_password(password):
self.remember = self.check_remember.isChecked() self.remember = self.check_remember.isChecked()
self.password = password self.password = password
self.edit_password.setText("")
self.accepted.emit() self.accepted.emit()
self.close() self.close()
......
...@@ -57,7 +57,7 @@ class StepPageInit(Step): ...@@ -57,7 +57,7 @@ class StepPageInit(Step):
self.config_dialog.community = account.add_community(server, port) self.config_dialog.community = account.add_community(server, port)
except NoPeerAvailable: except NoPeerAvailable:
QMessageBox.critical(self.config_dialog, "Server Error", QMessageBox.critical(self.config_dialog, "Server Error",
"Canno't join any peer in this community.") "Cannot join any peer in this community.")
raise raise
def display_page(self): def display_page(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment