summaryrefslogtreecommitdiff
path: root/src/frontEnd/Workspace.py
diff options
context:
space:
mode:
authorfahim2015-02-25 12:28:36 +0530
committerfahim2015-02-25 12:28:36 +0530
commitb8a87cdb785471005e96234782287528e3edc39c (patch)
treea4fb514bd17255b67514c3546ced9dce9e769197 /src/frontEnd/Workspace.py
parent22254c4024c72f71de4d4fc0b71bbb22fac8a747 (diff)
downloadeSim-b8a87cdb785471005e96234782287528e3edc39c.tar.gz
eSim-b8a87cdb785471005e96234782287528e3edc39c.tar.bz2
eSim-b8a87cdb785471005e96234782287528e3edc39c.zip
Subject: Kicad Module modified along with some other minor changes
Description: Added openschematic,openlayout,openpcb in the kicad module.
Diffstat (limited to 'src/frontEnd/Workspace.py')
-rw-r--r--src/frontEnd/Workspace.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/frontEnd/Workspace.py b/src/frontEnd/Workspace.py
index e52801e7..3b3ef37d 100644
--- a/src/frontEnd/Workspace.py
+++ b/src/frontEnd/Workspace.py
@@ -28,7 +28,7 @@ class Workspace(QtGui.QWidget):
def __init__(self):
super(Workspace, self).__init__()
- self.obj = Appconfig()
+ self.obj_appconfig = Appconfig()
#Initializing Workspace directory for project
self.initWorkspace()
@@ -41,9 +41,9 @@ class Workspace(QtGui.QWidget):
self.worspace_loc = QtGui.QLineEdit(self)
#Add text to text edit,label and line edit
- self.note.append(self.obj.workspace_text)
+ self.note.append(self.obj_appconfig.workspace_text)
self.workspace_label.setText("Workspace:")
- self.worspace_loc.setText(self.obj.home)
+ self.worspace_loc.setText(self.obj_appconfig.home)
#Buttons
self.browsebtn = QtGui.QPushButton('Browse')
@@ -94,14 +94,14 @@ class Workspace(QtGui.QWidget):
def createWorkspace(self):
print "Create workspace is called"
self.create_workspace = str(self.worspace_loc.text())
-
+ #Checking if Workspace already exist or not
if os.path.isdir(self.create_workspace):
print "Already present"
- self.obj.default_workspace["workspace"] = self.create_workspace
+ self.obj_appconfig.default_workspace["workspace"] = self.create_workspace
else:
os.mkdir(self.create_workspace)
- self.obj.default_workspace["workspace"] = self.create_workspace
+ self.obj_appconfig.default_workspace["workspace"] = self.create_workspace
self.close()