summaryrefslogtreecommitdiff
path: root/src/subcircuit/Subcircuit.py
diff options
context:
space:
mode:
authorxoher2015-07-28 02:36:59 +0530
committerxoher2015-07-28 02:36:59 +0530
commit034bc2734d017f3bdc94a309102b3141cb623ce9 (patch)
tree8d0143881ede180b69775bcfb19f095b2875a9b0 /src/subcircuit/Subcircuit.py
parent6d0631e034026b958437456ae461f21ba8429813 (diff)
downloadeSim-034bc2734d017f3bdc94a309102b3141cb623ce9.tar.gz
eSim-034bc2734d017f3bdc94a309102b3141cb623ce9.tar.bz2
eSim-034bc2734d017f3bdc94a309102b3141cb623ce9.zip
Kicad to NgSpice conversion opens in dock area
Diffstat (limited to 'src/subcircuit/Subcircuit.py')
-rw-r--r--src/subcircuit/Subcircuit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subcircuit/Subcircuit.py b/src/subcircuit/Subcircuit.py
index 94ca37e4..e161d6f3 100644
--- a/src/subcircuit/Subcircuit.py
+++ b/src/subcircuit/Subcircuit.py
@@ -14,7 +14,7 @@ class Subcircuit(QtGui.QWidget):
QtGui.QWidget.__init__(self)
self.obj_appconfig=Appconfig()
self.obj_validation=Validation()
-
+ self.obj_dockarea=parent
self.layout = QtGui.QVBoxLayout()
self.splitter= QtGui.QSplitter()
self.splitter.setOrientation(QtCore.Qt.Vertical)
@@ -58,5 +58,5 @@ class Subcircuit(QtGui.QWidget):
self.obj_opensubcircuit.body()
def convertsch(self):
- self.obj_convertsubcircuit = convertSub()
+ self.obj_convertsubcircuit = convertSub(self.obj_dockarea)
self.obj_convertsubcircuit.createSub() \ No newline at end of file