Plugins/WizardPlugins/MessageBoxWizard/MessageBoxWizardDialog.py

changeset 537
72b32daeb8d6
parent 446
69aac6eeba9b
child 563
e35d2cda9a74
--- a/Plugins/WizardPlugins/MessageBoxWizard/MessageBoxWizardDialog.py	Mon Aug 30 20:16:34 2010 +0200
+++ b/Plugins/WizardPlugins/MessageBoxWizard/MessageBoxWizardDialog.py	Tue Aug 31 12:17:02 2010 +0200
@@ -147,28 +147,28 @@
         defaultButton = self.buttonsCodeListBinary[self.defaultCombo.currentIndex()]
         
         if self.rInformation.isChecked():
-            QMessageBox.information(None,
+            QMessageBox.information(self,
                 self.eCaption.text(),
                 self.eMessage.toPlainText(),
                 QMessageBox.StandardButtons(buttons),
                 defaultButton
             )
         elif self.rQuestion.isChecked():
-            QMessageBox.question(None,
+            QMessageBox.question(self,
                 self.eCaption.text(),
                 self.eMessage.toPlainText(),
                 QMessageBox.StandardButtons(buttons),
                 defaultButton
             )
         elif self.rWarning.isChecked(): 
-            QMessageBox.warning(None,
+            QMessageBox.warning(self,
                 self.eCaption.text(),
                 self.eMessage.toPlainText(),
                 QMessageBox.StandardButtons(buttons),
                 defaultButton
             )
         elif self.rCritical.isChecked():
-            QMessageBox.critical(None,
+            QMessageBox.critical(self,
                 self.eCaption.text(),
                 self.eMessage.toPlainText(),
                 QMessageBox.StandardButtons(buttons),

eric ide

mercurial