eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py

changeset 8188
bfa6c0969acf
parent 8166
bd5cd5858503
child 8205
4a0f1f896341
diff -r 7bfee4d12551 -r bfa6c0969acf eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py	Thu Apr 01 17:22:48 2021 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py	Thu Apr 01 17:23:35 2021 +0200
@@ -83,6 +83,8 @@
                 itm.setIcon(0, UI.PixmapCache.getIcon("securityLow"))
             elif code.startswith("P"):
                 itm.setIcon(0, UI.PixmapCache.getIcon("dirClosed"))
+            elif code.startswith("Y"):
+                itm.setIcon(0, UI.PixmapCache.getIcon("filePython"))
             else:
                 # unknown category prefix => warning
                 itm.setIcon(0, UI.PixmapCache.getIcon("warning"))

eric ide

mercurial