eric6/E5Gui/E5ErrorMessage.py

changeset 7319
49ea50a9a61e
parent 7317
cada9fd4ad3a
child 7360
9190402e4505
equal deleted inserted replaced
7318:5d39cd2d7960 7319:49ea50a9a61e
109 @param context context information 109 @param context context information
110 @type QMessageLogContext 110 @type QMessageLogContext
111 @param message message to be shown 111 @param message message to be shown
112 @type bytes 112 @type bytes
113 """ 113 """
114 if msgType < Preferences.getUI("MinimumMessageTypeSeverity"):
115 # severity is lower than configured
116 # just ignore the message
117 return
118
119 if _msgHandlerDialog: 114 if _msgHandlerDialog:
115 if msgType < Preferences.getUI("MinimumMessageTypeSeverity"):
116 # severity is lower than configured
117 # just ignore the message
118 return
119
120 try: 120 try:
121 if msgType == QtDebugMsg: 121 if msgType == QtDebugMsg:
122 messageType = "Debug Message:" 122 messageType = "Debug Message:"
123 elif msgType == QtWarningMsg: 123 elif msgType == QtWarningMsg:
124 messageType = "Warning:" 124 messageType = "Warning:"

eric ide

mercurial