UI/BrowserModel.py

changeset 5708
9b01b4004314
parent 5656
9c21b2746218
child 5968
c5112b5cb7a9
--- a/UI/BrowserModel.py	Tue Apr 18 19:22:54 2017 +0200
+++ b/UI/BrowserModel.py	Wed Apr 19 19:02:34 2017 +0200
@@ -993,7 +993,8 @@
         BrowserItem.__init__(self, parent, dn)
         
         self.type_ = BrowserItemDirectory
-        if os.path.lexists(self._dirName) and os.path.islink(self._dirName):
+        if not Utilities.isDrive(self._dirName) and \
+           os.path.lexists(self._dirName) and os.path.islink(self._dirName):
             self.symlink = True
             self.icon = UI.PixmapCache.getSymlinkIcon("dirClosed.png")
         else:

eric ide

mercurial