eric6/UI/BrowserModel.py

branch
maintenance
changeset 8400
b3eefd7e58d1
parent 8273
698ae46f40a4
parent 8282
16b243bdb12f
diff -r 197414ba11cc -r b3eefd7e58d1 eric6/UI/BrowserModel.py
--- a/eric6/UI/BrowserModel.py	Sat May 01 14:27:38 2021 +0200
+++ b/eric6/UI/BrowserModel.py	Thu Jun 03 11:39:23 2021 +0200
@@ -1155,7 +1155,6 @@
         
         self._moduleName = ''
         
-        # TODO: add icon for eric graphics file
         pixName = ""
         if self.isPython3File():
             pixName = "filePython"
@@ -1206,6 +1205,8 @@
             self._populated = False
             self._lazyPopulation = True
             self._moduleName = os.path.basename(finfo)
+        elif self.isEricGraphicsFile():
+            pixName = "fileUML"
         else:
             pixName = "fileMisc"
         

eric ide

mercurial