Skip to content

Commit

Permalink
[qt4] Fix autologin
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyluke committed Dec 22, 2009
1 parent 0d9eb39 commit 5f56834
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion amsn2/ui/front_ends/qt4/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def __init__(self, amsn_core, parent):
self.ui = Ui_Login()
self.ui.setupUi(self)
self._parent = parent
self.loginThrobber = None
QObject.connect(self.ui.pushSignIn, SIGNAL("clicked()"), self.__login_clicked)
QObject.connect(self.ui.styleDesktop, SIGNAL("clicked()"), self.setTestStyle)
QObject.connect(self.ui.styleRounded, SIGNAL("clicked()"), self.setTestStyle)
Expand Down Expand Up @@ -86,7 +87,8 @@ def setTestStyle(self):
self.setStyleSheet(styleReader.readAll())

def show(self):
self._parent.fadeIn(self)
if not self.loginThrobber:
self._parent.fadeIn(self)

def hide(self):
pass
Expand Down

0 comments on commit 5f56834

Please sign in to comment.