Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py

changeset 4423
14f3ca3dcef6
parent 4021
195a471c327b
child 4506
57666e501a42
--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py	Wed Sep 02 18:46:11 2015 +0200
+++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py	Wed Sep 02 20:16:28 2015 +0200
@@ -50,7 +50,7 @@
             else:
                 continue
             itm = QTreeWidgetItem(self.codeTable, [code, message])
-            if code.startswith("W"):
+            if code.startswith(("W", "C")):
                 itm.setIcon(0, UI.PixmapCache.getIcon("warning.png"))
             elif code.startswith("E"):
                 itm.setIcon(0, UI.PixmapCache.getIcon("syntaxError.png"))

eric ide

mercurial