src/eric7/Project/ProjectBrowserModel.py

branch
eric7
changeset 10977
b88dccafc3aa
parent 10915
80828634d6b0
child 11090
f5f5f5803935
equal deleted inserted replaced
10976:10fe4f38b5f3 10977:b88dccafc3aa
640 """ 640 """
641 # Show the entry in bold in the others browser to make it more 641 # Show the entry in bold in the others browser to make it more
642 # distinguishable 642 # distinguishable
643 bold = typeString == "OTHERS" and not simple 643 bold = typeString == "OTHERS" and not simple
644 644
645 fname = os.path.join(self.project.ppath, name) 645 fname = (
646 self.__remotefsInterface.join(self.project.ppath, name)
647 if FileSystemUtilities.isRemoteFileName(self.project.ppath)
648 else os.path.join(self.project.ppath, name)
649 )
646 parentItem, _dt = self.findParentItemByName( 650 parentItem, _dt = self.findParentItemByName(
647 self.__projectBrowser.getProjectBrowserFilter(typeString), name 651 self.__projectBrowser.getProjectBrowserFilter(typeString), name
648 ) 652 )
649 parentIndex = ( 653 parentIndex = (
650 QModelIndex() 654 QModelIndex()

eric ide

mercurial