diff -r f74f03e98128 -r 27dab28b0482 UI/BrowserModel.py --- a/UI/BrowserModel.py Thu Apr 12 19:18:23 2012 +0200 +++ b/UI/BrowserModel.py Fri Apr 13 19:16:01 2012 +0200 @@ -299,7 +299,7 @@ # step 1: check for new entries children = itm.children() for f in entryInfoList: - fpath = f.absoluteFilePath() + fpath = Utilities.toNativeSeparators(f.absoluteFilePath()) childFound = False for child in children: if child.name() == fpath: @@ -326,9 +326,10 @@ if len(entryInfoList) != itm.childCount(): for row in range(oldCnt - 1, -1, -1): child = itm.child(row) + childname = Utilities.fromNativeSeparators(child.name()) entryFound = False for f in entryInfoList: - if f.absoluteFilePath() == child.name(): + if f.absoluteFilePath() == childname: entryFound = True entryInfoList.remove(f) break