Fixed an issue in the code style checker dialog causing style warnings to be displayed as standard warnings if requested via the 'Show' button.

Sun, 20 Oct 2013 10:36:01 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 20 Oct 2013 10:36:01 +0200
changeset 3046
c481f2a33b16
parent 3044
a6cee59c80a4
child 3047
2a3c730dbb58

Fixed an issue in the code style checker dialog causing style warnings to be displayed as standard warnings if requested via the 'Show' button.

Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py	Sat Oct 19 20:02:09 2013 +0200
+++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py	Sun Oct 20 10:36:01 2013 +0200
@@ -685,7 +685,8 @@
                 citm = itm.child(cindex)
                 lineno = citm.data(0, self.lineRole)
                 message = citm.data(0, self.messageRole)
-                editor.toggleFlakesWarning(lineno, True, message)
+                editor.toggleFlakesWarning(
+                    lineno, True, message, warningType=editor.WarningStyle)
         
         # go through the list again to clear warning markers for files,
         # that are ok

eric ide

mercurial