--- a/eric7/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditPlanEditor.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditPlanEditor.py Sat May 22 18:51:46 2021 +0200 @@ -10,7 +10,7 @@ from PyQt6.QtCore import pyqtSlot, QCoreApplication from PyQt6.QtWidgets import QDialog, QTreeWidgetItem, QComboBox -from E5Gui import E5MessageBox +from E5Gui import EricMessageBox from Ui_HgHisteditPlanEditor import Ui_HgHisteditPlanEditor @@ -106,7 +106,7 @@ with open(self.__fileName, "r") as f: txt = f.read() except OSError as err: - E5MessageBox.critical( + EricMessageBox.critical( self, self.tr("Edit Plan"), self.tr("""<p>The file <b>{0}</b> could not be read.</p>""" @@ -236,7 +236,7 @@ with open(self.__fileName, "w") as f: f.write(text) except OSError as err: - E5MessageBox.critical( + EricMessageBox.critical( self, self.tr("Edit Plan"), self.tr("""<p>The file <b>{0}</b> could not be read.</p>"""