|
|
|
@ -884,13 +884,14 @@ class MainFrameRes(QtGui.QWidget):
|
|
|
|
|
self.send_password_thread.wait()
|
|
|
|
|
|
|
|
|
|
def closeDialogs(self):
|
|
|
|
|
if hasattr(self,"message") and self.message:
|
|
|
|
|
if hasattr(self, "message") and self.message:
|
|
|
|
|
self.message.close()
|
|
|
|
|
self.message = None
|
|
|
|
|
if hasattr(self,"passwd") and self.passwd:
|
|
|
|
|
if hasattr(self, "passwd") and self.passwd:
|
|
|
|
|
self.passwd.close()
|
|
|
|
|
self.passwd = None
|
|
|
|
|
self._parent.control_button.close_confirmation()
|
|
|
|
|
self._parent.control_button.close_break_button()
|
|
|
|
|
|
|
|
|
|
def closeEvent(self, event):
|
|
|
|
|
self.timer.stop()
|
|
|
|
@ -1042,7 +1043,7 @@ class ButtonDialog(QtGui.QWidget):
|
|
|
|
|
show_msg(_('Failed to send the message (password) to the server'))
|
|
|
|
|
self.close()
|
|
|
|
|
return 1
|
|
|
|
|
self._parent.show_result(result)
|
|
|
|
|
#self._parent.show_result(result)
|
|
|
|
|
self.close()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|