diff options
author | Fahim | 2015-04-15 14:49:42 +0530 |
---|---|---|
committer | Fahim | 2015-04-15 14:49:42 +0530 |
commit | 15564f65ee11f442748705c9adeceed354b3d45c (patch) | |
tree | 1fb2a7b80a3ff205c6633a8d718e18eb9bfb3c1c | |
parent | 859dbbe844fe4a21b5d802bb8ac2603a80aa3a34 (diff) | |
parent | c028c0398434f4288ead3cdb2a20f6bac39acc6a (diff) | |
download | eSim-15564f65ee11f442748705c9adeceed354b3d45c.tar.gz eSim-15564f65ee11f442748705c9adeceed354b3d45c.tar.bz2 eSim-15564f65ee11f442748705c9adeceed354b3d45c.zip |
Merge pull request #9 from komalsheth236/master
changes in project management
-rw-r--r-- | src/frontEnd/Workspace.py | 2 | ||||
-rw-r--r-- | src/projManagement/openKicad.pyc | bin | 1189 -> 0 bytes | |||
-rw-r--r-- | src/projManagement/openProject.py | 6 |
3 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/openKicad.pyc b/src/projManagement/openKicad.pyc Binary files differdeleted file mode 100644 index 04f934d3..00000000 --- a/src/projManagement/openKicad.pyc +++ /dev/null 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() |