summaryrefslogtreecommitdiff
path: root/src/frontEnd/ProjectExplorer.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontEnd/ProjectExplorer.py')
-rw-r--r--src/frontEnd/ProjectExplorer.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontEnd/ProjectExplorer.py b/src/frontEnd/ProjectExplorer.py
index 8f2c29b5..7a25fef3 100644
--- a/src/frontEnd/ProjectExplorer.py
+++ b/src/frontEnd/ProjectExplorer.py
@@ -248,7 +248,7 @@ class ProjectExplorer(QtGui.QWidget):
print(newBaseFileName)
print("=================")
newBaseFileName = str(newBaseFileName)
- i = 0
+ i = -1
print(self.indexItem.row())
print("=================")
@@ -259,8 +259,8 @@ class ProjectExplorer(QtGui.QWidget):
if os.path.exists(parents):
i += 1
if i == self.indexItem.row():
- projectPath, projectFiles = list(
- self.obj_appconfig.project_explorer.items())[i]
+ projectPath, projectFiles = parents, children
+ break
updatedProjectFiles = []