diff options
author | fahim | 2015-04-13 15:45:15 +0530 |
---|---|---|
committer | fahim | 2015-04-13 15:45:15 +0530 |
commit | 3291b73955641525427639f28422c465b132ca21 (patch) | |
tree | 82c806cb768a940188ba3e2dc3cdbe1ad55ee03d /src/frontEnd/ViewManagement.py | |
parent | 3e626db04e3d2fadebb649cd55e1035e7eeca395 (diff) | |
download | eSim-3291b73955641525427639f28422c465b132ca21.tar.gz eSim-3291b73955641525427639f28422c465b132ca21.tar.bz2 eSim-3291b73955641525427639f28422c465b132ca21.zip |
Subject: Closing all App error
Description: Handle exception while closing application
Diffstat (limited to 'src/frontEnd/ViewManagement.py')
-rwxr-xr-x | src/frontEnd/ViewManagement.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/frontEnd/ViewManagement.py b/src/frontEnd/ViewManagement.py index 8299e295..bfb294dd 100755 --- a/src/frontEnd/ViewManagement.py +++ b/src/frontEnd/ViewManagement.py @@ -95,8 +95,9 @@ class ViewManagement(QtGui.QSplitter): self.pcb_btn.clicked.connect(self.obj_kicad.openLayout) self.grid.addWidget(self.pcb_btn,1,1) - #self.temp = QtGui.QSplitter() - #self.temp.setOrientation(QtCore.Qt.Vertical) + #Adding one more splitter + self.browser = QtGui.QSplitter() + self.browser.setOrientation(QtCore.Qt.Vertical) # bind the top level views into the framework self.views['ProjectExplorer'].setParent(self) @@ -108,10 +109,11 @@ class ViewManagement(QtGui.QSplitter): self.views['CurrentProject'].setParent(self.right) self.views['CurrentProject'].setReadOnly(True) - #self.views['Browser'].setParent(self.right) - #self.views['Browser'].setReadOnly(True) + self.views['Browser'].setParent(self.browser) + self.views['Browser'].setReadOnly(True) self.right.setParent(self) + self.browser.setParent(self) self.right.setSizes([20, 5]) #self.setSizes([5, 20]) |