Project/ProjectSourcesBrowser.py

changeset 538
7f1a56e80124
parent 537
72b32daeb8d6
child 541
00e1a5d060c5
--- a/Project/ProjectSourcesBrowser.py	Tue Aug 31 12:17:02 2010 +0200
+++ b/Project/ProjectSourcesBrowser.py	Tue Aug 31 12:36:10 2010 +0200
@@ -803,7 +803,7 @@
             fn = itm.fileName()
         except AttributeError:
             fn = itm.dirName()
-        res = QMessageBox.question(None,
+        res = E5MessageBox.question(self,
             self.trUtf8("Class Diagram"),
             self.trUtf8("""Include class attributes?"""),
             QMessageBox.StandardButtons(\
@@ -824,7 +824,7 @@
         except AttributeError:
             fn = itm.dirName()
         package = os.path.isdir(fn) and fn or os.path.dirname(fn)
-        res = QMessageBox.question(None,
+        res = E5MessageBox.question(self,
             self.trUtf8("Imports Diagram"),
             self.trUtf8("""Include imports from external modules?"""),
             QMessageBox.StandardButtons(\
@@ -845,7 +845,7 @@
         except AttributeError:
             fn = itm.dirName()
         package = os.path.isdir(fn) and fn or os.path.dirname(fn)
-        res = QMessageBox.question(None,
+        res = E5MessageBox.question(self,
             self.trUtf8("Package Diagram"),
             self.trUtf8("""Include class attributes?"""),
             QMessageBox.StandardButtons(\
@@ -860,7 +860,7 @@
         """
         Private method to handle the application diagram context menu action.
         """
-        res = QMessageBox.question(None,
+        res = E5MessageBox.question(self,
             self.trUtf8("Application Diagram"),
             self.trUtf8("""Include module names?"""),
             QMessageBox.StandardButtons(\

eric ide

mercurial