summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-07-19 11:36:07 -0300
committerTomás Touceda <chiiph@leap.se>2013-07-19 12:14:31 -0300
commit36e1d76d8539135c3424c0e6e82ad26c8ec2529d (patch)
tree2f01568934dc4ae42392c708b6e9f9087f493514 /src/leap
parent2b2505683f9dd91b6f2f8aeb1ac0798c975a53d6 (diff)
Fix raise calls
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/gui/mainwindow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/gui/mainwindow.py b/src/leap/gui/mainwindow.py
index 6ee8b028..6fe3e72d 100644
--- a/src/leap/gui/mainwindow.py
+++ b/src/leap/gui/mainwindow.py
@@ -321,7 +321,7 @@ class MainWindow(QtGui.QMainWindow):
# Refer to http://www.themacaque.com/?p=1067 for funny details.
self._wizard.show()
if IS_MAC:
- self._wizard._raise()
+ self._wizard.raise_()
self._wizard.finished.connect(self._wizard_finished)
def _wizard_finished(self):
@@ -1304,7 +1304,7 @@ class MainWindow(QtGui.QMainWindow):
self.setWindowFlags(self.windowFlags() & ~TOPFLAG)
self.show()
if IS_MAC:
- self._raise()
+ self.raise_()
def _cleanup_pidfiles(self):
"""