summaryrefslogtreecommitdiff
path: root/src/subcircuit/Subcircuit.py
diff options
context:
space:
mode:
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