UI/BrowserModel.py

branch
maintenance
changeset 5730
6422afc7adc4
parent 5708
9b01b4004314
child 5968
c5112b5cb7a9
diff -r 9a71bd9e2e37 -r 6422afc7adc4 UI/BrowserModel.py
--- a/UI/BrowserModel.py	Sun Apr 09 16:52:55 2017 +0200
+++ b/UI/BrowserModel.py	Sat May 06 13:43:21 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