eric6/Project/ProjectBaseBrowser.py

changeset 8259
2bbec88047dd
parent 8243
cc717c2ae956
equal deleted inserted replaced
8258:82b608e352ec 8259:2bbec88047dd
498 @param filterList list of classes to check against 498 @param filterList list of classes to check against
499 """ 499 """
500 if self.project.vcs is None: 500 if self.project.vcs is None:
501 return 501 return
502 502
503 if local: 503 compareString = (
504 compareString = QCoreApplication.translate( 504 QCoreApplication.translate('ProjectBaseBrowser', "local")
505 'ProjectBaseBrowser', "local") 505 if local else
506 else: 506 self.project.vcs.vcsName()
507 compareString = self.project.vcs.vcsName() 507 )
508 508
509 # expand all directories in order to iterate over all entries 509 # expand all directories in order to iterate over all entries
510 self._expandAllDirs() 510 self._expandAllDirs()
511 511
512 self.selectionModel().clear() 512 self.selectionModel().clear()

eric ide

mercurial