diff -r 7f1a56e80124 -r 87f9bce38a44 Debugger/WatchPointViewer.py --- a/Debugger/WatchPointViewer.py Tue Aug 31 12:36:10 2010 +0200 +++ b/Debugger/WatchPointViewer.py Tue Aug 31 13:23:27 2010 +0200 @@ -11,6 +11,7 @@ from PyQt4.QtGui import * from E5Gui.E5Application import e5App +from E5Gui import E5MessageBox from .EditWatchpointDialog import EditWatchpointDialog @@ -226,7 +227,7 @@ msg = self.trUtf8("""<p>A watch expression '<b>{0}</b>'""" """ for the variable <b>{1}</b> already exists.</p>""")\ .format(special, Utilities.html_encode(cond)) - QMessageBox.warning(None, + E5MessageBox.warning(self, self.trUtf8("Watch expression already exists"), msg) @@ -409,4 +410,4 @@ """ Private method to open the configuration dialog. """ - e5App().getObject("UserInterface").showPreferences("debuggerGeneralPage") + e5App().getObject("UserInterface").showPreferences("debuggerGeneralPage") \ No newline at end of file