Project/ProjectBaseBrowser.py

changeset 536
6d8d39753c82
parent 500
c3abc7895a01
child 564
b3d966393ba9
diff -r 4b00d7336e19 -r 6d8d39753c82 Project/ProjectBaseBrowser.py
--- a/Project/ProjectBaseBrowser.py	Mon Aug 30 19:03:34 2010 +0200
+++ b/Project/ProjectBaseBrowser.py	Mon Aug 30 20:16:34 2010 +0200
@@ -13,6 +13,7 @@
 from PyQt4.QtGui import *
 
 from E5Gui.E5Application import e5App
+from E5Gui import E5MessageBox
 
 from UI.Browser import *
 
@@ -477,7 +478,7 @@
         QApplication.processEvents()
         
         if selectedEntries == 0:
-            QMessageBox.information(None,
+            E5MessageBox.information(self,
             QApplication.translate('ProjectBaseBrowser', "Select entries"),
             QApplication.translate('ProjectBaseBrowser', 
                 """There were no matching entries found."""))
@@ -637,4 +638,4 @@
         """
         Protected method to open the configuration dialog.
         """
-        e5App().getObject("UserInterface").showPreferences("projectBrowserPage")
+        e5App().getObject("UserInterface").showPreferences("projectBrowserPage")
\ No newline at end of file

eric ide

mercurial