eric6/Project/ProjectFormsBrowser.py

changeset 8265
0090cfa83159
parent 8243
cc717c2ae956
child 8273
698ae46f40a4
--- 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
         

eric ide

mercurial