diff -r b3da30a52337 -r f4561c24989a Project/ProjectBaseBrowser.py --- a/Project/ProjectBaseBrowser.py Fri May 14 17:23:52 2010 +0200 +++ b/Project/ProjectBaseBrowser.py Fri May 14 17:26:38 2010 +0200 @@ -304,7 +304,7 @@ @param fn filename of file to be highlighted (string) """ newfn = os.path.abspath(fn) - newfn = newfn.replace(self.project.ppath + os.sep, '') + newfn = self.project.getRelativePath(newfn) sindex = self._model.itemIndexByName(newfn) if sindex.isValid(): index = self.model().mapFromSource(sindex)