diff options
author | komalsheth236 | 2015-04-15 14:48:12 +0530 |
---|---|---|
committer | komalsheth236 | 2015-04-15 14:48:12 +0530 |
commit | c028c0398434f4288ead3cdb2a20f6bac39acc6a (patch) | |
tree | 1fb2a7b80a3ff205c6633a8d718e18eb9bfb3c1c | |
parent | 29ba125b197328489ffa5f022c2dcd7770d7f33a (diff) | |
download | eSim-c028c0398434f4288ead3cdb2a20f6bac39acc6a.tar.gz eSim-c028c0398434f4288ead3cdb2a20f6bac39acc6a.tar.bz2 eSim-c028c0398434f4288ead3cdb2a20f6bac39acc6a.zip |
changes in project management
-rw-r--r-- | src/frontEnd/Workspace.py | 2 | ||||
-rw-r--r-- | src/projManagement/openProject.py | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/frontEnd/Workspace.py b/src/frontEnd/Workspace.py index 47d26d9b..8727e799 100644 --- a/src/frontEnd/Workspace.py +++ b/src/frontEnd/Workspace.py @@ -108,7 +108,7 @@ class Workspace(QtGui.QWidget): def browseLocation(self): print "Browse Location called" - self.workspace_directory = QtGui.QFileDialog.getExistingDirectory() + self.workspace_directory = QtGui.QFileDialog.getExistingDirectory(self, "open","/home") print "Path file :", self.workspace_directory self.worspace_loc.setText(self.workspace_directory)
\ No newline at end of file diff --git a/src/projManagement/openProject.py b/src/projManagement/openProject.py index a5342901..97e851e8 100644 --- a/src/projManagement/openProject.py +++ b/src/projManagement/openProject.py @@ -33,8 +33,10 @@ class OpenProjectInfo(QtGui.QWidget): self.obj_validation = Validation() def body(self): - self.projDir = QtGui.QFileDialog.getExistingDirectory() - + self.obj_Appconfig = Appconfig() + self.openDir = self.obj_Appconfig.default_workspace["workspace"] + #print "default workspace is now 1", self.openDir + self.projDir=QtGui.QFileDialog.getExistingDirectory(self,"open",self.openDir) if self.obj_validation.validateOpenproj(self.projDir) == True: print "Pass open project test" self.obj_Appconfig = Appconfig() |