fixed hidding in mac os x

This commit is contained in:
Adolfo Gómez 2015-11-17 15:15:47 +01:00
parent b777919f52
commit 11b9d07aef

View File

@ -151,7 +151,8 @@ class UDSClient(QtGui.QMainWindow):
script = data['result'].decode('base64').decode('bz2')
self.ui.progressBar.setValue(100)
# self.showMinimized()
if 'darwin' in sys.platform:
self.showMinimized()
QtCore.QTimer.singleShot(3000, self.endScript)
self.hide()