--- a/eric6/Project/ProjectFormsBrowser.py Tue Jan 05 15:14:40 2021 +0100 +++ b/eric6/Project/ProjectFormsBrowser.py Tue Jan 05 18:28:31 2021 +0100 @@ -25,6 +25,8 @@ from .ProjectBaseBrowser import ProjectBaseBrowser import UI.PixmapCache +from UI.NotificationWidget import NotificationTypes + import Preferences import Utilities @@ -776,12 +778,14 @@ self.tr( "<p>The compilation of the form file failed.</p>" "<p>Reason: {0}</p>").format(str(msg)), + kind=NotificationTypes.Critical, timeout=0) else: ui.showNotification( UI.PixmapCache.getPixmap("designer48"), self.tr("Form Compilation"), self.tr("The compilation of the form file failed."), + kind=NotificationTypes.Critical, timeout=0) self.compileProc = None