--- a/src/eric7/Debugger/WatchPointViewer.py Thu Sep 26 09:48:49 2024 +0200 +++ b/src/eric7/Debugger/WatchPointViewer.py Thu Sep 26 15:49:36 2024 +0200 @@ -10,7 +10,7 @@ from PyQt6.QtCore import QItemSelectionModel, QModelIndex, QSortFilterProxyModel, Qt from PyQt6.QtWidgets import QAbstractItemView, QDialog, QHeaderView, QMenu, QTreeView -from eric7 import Utilities +from eric7 import EricUtilities from eric7.EricWidgets import EricMessageBox from eric7.EricWidgets.EricApplication import ericApp @@ -249,12 +249,12 @@ if not special: msg = self.tr( """<p>A watch expression '<b>{0}</b>' already exists.</p>""" - ).format(Utilities.html_encode(cond)) + ).format(EricUtilities.html_encode(cond)) else: msg = self.tr( """<p>A watch expression '<b>{0}</b>'""" """ for the variable <b>{1}</b> already exists.</p>""" - ).format(special, Utilities.html_encode(cond)) + ).format(special, EricUtilities.html_encode(cond)) EricMessageBox.warning( self, self.tr("Watch expression already exists"), msg )