eric6/E5Gui/E5ErrorMessage.py

changeset 7319
49ea50a9a61e
parent 7317
cada9fd4ad3a
child 7360
9190402e4505
diff -r 5d39cd2d7960 -r 49ea50a9a61e eric6/E5Gui/E5ErrorMessage.py
--- a/eric6/E5Gui/E5ErrorMessage.py	Sun Oct 27 19:20:41 2019 +0100
+++ b/eric6/E5Gui/E5ErrorMessage.py	Mon Oct 28 19:12:37 2019 +0100
@@ -111,12 +111,12 @@
     @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:
+        if msgType < Preferences.getUI("MinimumMessageTypeSeverity"):
+            # severity is lower than configured
+            # just ignore the message
+            return
+        
         try:
             if msgType == QtDebugMsg:
                 messageType = "Debug Message:"

eric ide

mercurial