Fixed a little issue in the project browser model populating nodes of a non-VCS controlled project.

Sat, 10 Dec 2016 17:16:38 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 10 Dec 2016 17:16:38 +0100
changeset 5367
7123b86157b5
parent 5366
001edc0a0807
child 5371
01c4c059142b

Fixed a little issue in the project browser model populating nodes of a non-VCS controlled project.

Project/ProjectBrowserModel.py file | annotate | diff | comparison | revisions
diff -r 001edc0a0807 -r 7123b86157b5 Project/ProjectBrowserModel.py
--- a/Project/ProjectBrowserModel.py	Fri Dec 09 18:32:57 2016 +0100
+++ b/Project/ProjectBrowserModel.py	Sat Dec 10 17:16:38 2016 +0100
@@ -382,6 +382,8 @@
                             f.absoluteFilePath())
                     else:
                         node.addVcsStatus(self.tr("local"))
+                else:
+                    node.addVcsStatus("")
                 self._addItem(node, parentItem)
             if repopulate:
                 self.endInsertRows()

eric ide

mercurial