Sun, 09 May 2010 18:21:53 +0200
Fixed an issue closing a project.
Project/ProjectBrowserModel.py | file | annotate | diff | comparison | revisions |
--- a/Project/ProjectBrowserModel.py Sun May 09 18:14:47 2010 +0200 +++ b/Project/ProjectBrowserModel.py Sun May 09 18:21:53 2010 +0200 @@ -361,7 +361,9 @@ self.__vcsStatus = {} self.watchedItems = {} - self.watcher.removePaths(self.watcher.directories()) + watchedDirs = self.watcher.directories() + if watchedDirs: + self.watcher.removePaths(watchedDirs) self.rootItem.removeChildren() self.reset()