eric7/E5Gui/E5ErrorMessage.py

branch
eric7
changeset 8319
ea11a3948f40
parent 8318
962bce857696
--- a/eric7/E5Gui/E5ErrorMessage.py	Sun May 16 20:07:24 2021 +0200
+++ b/eric7/E5Gui/E5ErrorMessage.py	Mon May 17 19:58:15 2021 +0200
@@ -114,7 +114,7 @@
     @type bytes
     """
     if _msgHandlerDialog:
-        if msgType < Preferences.getUI("MinimumMessageTypeSeverity"):
+        if msgType.value < Preferences.getUI("MinimumMessageTypeSeverity"):
             # severity is lower than configured
             # just ignore the message
             return

eric ide

mercurial