--- a/eric6/Project/ProjectFormsBrowser.py Mon Apr 26 17:33:08 2021 +0200 +++ b/eric6/Project/ProjectFormsBrowser.py Tue Apr 27 17:25:06 2021 +0200 @@ -774,14 +774,14 @@ self.tr( "<p>The compilation of the form file failed.</p>" "<p>Reason: {0}</p>").format(str(msg)), - kind=NotificationTypes.Critical, + 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, + kind=NotificationTypes.CRITICAL, timeout=0) self.compileProc = None