Refixed last fix to E5MessageBox.

Sun, 12 Sep 2010 11:58:19 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 12 Sep 2010 11:58:19 +0200
changeset 591
c92803caf37f
parent 590
beb60b9b3d8d
child 592
3ad07054e658

Refixed last fix to E5MessageBox.

E5Gui/E5MessageBox.py file | annotate | diff | comparison | revisions
--- a/E5Gui/E5MessageBox.py	Sat Sep 11 19:26:32 2010 +0200
+++ b/E5Gui/E5MessageBox.py	Sun Sep 12 11:58:19 2010 +0200
@@ -92,8 +92,6 @@
             self.setWindowTitle("{0} - {1}".format(
                 QApplication.applicationName(), title))
         self.setText(text)
-        if buttons == QMessageBox.NoButton:
-            buttons = QMessageBox.StandardButtons(QMessageBox.Ok)
         self.setStandardButtons(buttons)
 
 ################################################################################

eric ide

mercurial