--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyAddScriptDialog.py Tue Jan 05 15:14:40 2021 +0100 +++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyAddScriptDialog.py Tue Jan 05 18:28:31 2021 +0100 @@ -16,6 +16,7 @@ from .Ui_GreaseMonkeyAddScriptDialog import Ui_GreaseMonkeyAddScriptDialog import UI.PixmapCache +from UI.NotificationWidget import NotificationTypes class GreaseMonkeyAddScriptDialog(QDialog, Ui_GreaseMonkeyAddScriptDialog): @@ -99,4 +100,6 @@ WebBrowserWindow.showNotification( UI.PixmapCache.getPixmap("greaseMonkey48"), self.tr("GreaseMonkey Script Installation"), - msg, timeout=0) + msg, + kind=NotificationTypes.Critical, + timeout=0)