eric6/E5Gui/E5ErrorMessage.py

changeset 7317
cada9fd4ad3a
parent 7252
c5e3705073eb
child 7319
49ea50a9a61e
diff -r abe6dd39e4ee -r cada9fd4ad3a eric6/E5Gui/E5ErrorMessage.py
--- a/eric6/E5Gui/E5ErrorMessage.py	Sun Oct 27 15:58:57 2019 +0100
+++ b/eric6/E5Gui/E5ErrorMessage.py	Sun Oct 27 18:09:46 2019 +0100
@@ -16,6 +16,7 @@
 
 import Globals
 import Utilities
+import Preferences
 
 
 _msgHandlerDialog = None
@@ -110,6 +111,11 @@
     @param message message to be shown
     @type bytes
     """
+    if msgType < Preferences.getUI("MinimumMessageTypeSeverity"):
+        # severity is lower than configured
+        # just ignore the message
+        return
+    
     if _msgHandlerDialog:
         try:
             if msgType == QtDebugMsg:

eric ide

mercurial