--- a/eric7/Templates/TemplatePropertiesDialog.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/Templates/TemplatePropertiesDialog.py Sat May 22 18:51:46 2021 +0200 @@ -13,7 +13,7 @@ from .Ui_TemplatePropertiesDialog import Ui_TemplatePropertiesDialog -from E5Gui import E5MessageBox +from E5Gui import EricMessageBox import Preferences @@ -98,7 +98,7 @@ @param ev key event (QKeyEvent) """ if ev.key() == Qt.Key.Key_Escape: - res = E5MessageBox.yesNo( + res = EricMessageBox.yesNo( self, self.tr("Close dialog"), self.tr("""Do you really want to close the dialog?""")) @@ -111,8 +111,8 @@ Private slot to show some help. """ if self.__helpDialog is None: - from E5Gui.E5SimpleHelpDialog import E5SimpleHelpDialog - self.__helpDialog = E5SimpleHelpDialog( + from E5Gui.EricSimpleHelpDialog import EricSimpleHelpDialog + self.__helpDialog = EricSimpleHelpDialog( title=self.tr("Template Help"), label=self.tr("<b>Template Help</b>"), helpStr=self.tr(