eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py

changeset 8166
bd5cd5858503
parent 8143
2c730d5fd177
child 8188
bfa6c0969acf
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py	Wed Mar 17 19:54:32 2021 +0100
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py	Sun Mar 21 14:17:16 2021 +0100
@@ -81,6 +81,8 @@
                 itm.setIcon(0, UI.PixmapCache.getIcon("docstringError"))
             elif code.startswith("S"):
                 itm.setIcon(0, UI.PixmapCache.getIcon("securityLow"))
+            elif code.startswith("P"):
+                itm.setIcon(0, UI.PixmapCache.getIcon("dirClosed"))
             else:
                 # unknown category prefix => warning
                 itm.setIcon(0, UI.PixmapCache.getIcon("warning"))

eric ide

mercurial