--- a/eric7/Plugins/VcsPlugins/vcsMercurial/StripExtension/ProjectHelper.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/Plugins/VcsPlugins/vcsMercurial/StripExtension/ProjectHelper.py Sat May 22 18:51:46 2021 +0200 @@ -9,8 +9,8 @@ from PyQt6.QtWidgets import QMenu -from E5Gui.E5Action import E5Action -from E5Gui import E5MessageBox +from E5Gui.EricAction import EricAction +from E5Gui import EricMessageBox from ..HgExtensionProjectHelper import HgExtensionProjectHelper @@ -31,7 +31,7 @@ """ Public method to generate the action objects. """ - self.hgStripAct = E5Action( + self.hgStripAct = EricAction( self.tr('Strip changesets'), UI.PixmapCache.getIcon("fileDelete"), self.tr('Strip changesets'), @@ -80,7 +80,7 @@ shouldReopen = self.vcs.getExtensionObject("strip").hgStrip( self.project.getProjectPath()) if shouldReopen: - res = E5MessageBox.yesNo( + res = EricMessageBox.yesNo( None, self.tr("Strip"), self.tr("""The project should be reread. Do this now?"""),