eric6/UI/BrowserModel.py

changeset 8282
16b243bdb12f
parent 8270
6ba3564b7161
child 8400
b3eefd7e58d1
--- a/eric6/UI/BrowserModel.py	Sun May 02 15:09:29 2021 +0200
+++ b/eric6/UI/BrowserModel.py	Sun May 02 17:26:47 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