--- a/eric7/Debugger/WatchPointViewer.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/Debugger/WatchPointViewer.py Sat May 22 18:51:46 2021 +0200 @@ -14,8 +14,8 @@ QTreeView, QAbstractItemView, QMenu, QHeaderView, QDialog ) -from E5Gui.E5Application import e5App -from E5Gui import E5MessageBox +from E5Gui.EricApplication import ericApp +from E5Gui import EricMessageBox import Utilities @@ -249,7 +249,7 @@ """<p>A watch expression '<b>{0}</b>'""" """ for the variable <b>{1}</b> already exists.</p>""" ).format(special, Utilities.html_encode(cond)) - E5MessageBox.warning( + EricMessageBox.warning( self, self.tr("Watch expression already exists"), msg) @@ -443,5 +443,5 @@ """ Private method to open the configuration dialog. """ - e5App().getObject("UserInterface").showPreferences( + ericApp().getObject("UserInterface").showPreferences( "debuggerGeneralPage")