diff options
author | Blaine | 2020-04-28 22:27:41 +0530 |
---|---|---|
committer | Blaine | 2020-04-28 22:27:41 +0530 |
commit | a64e5e224d29636a5d9e80b5760da7993d795bcd (patch) | |
tree | f099bcf085d172a59527417371717e0fe6a81f59 /src/main/python/main.py | |
parent | 4f47a375887aecb2778800f375f4c4e037bf26a6 (diff) | |
download | Chemical-PFD-a64e5e224d29636a5d9e80b5760da7993d795bcd.tar.gz Chemical-PFD-a64e5e224d29636a5d9e80b5760da7993d795bcd.tar.bz2 Chemical-PFD-a64e5e224d29636a5d9e80b5760da7993d795bcd.zip |
The Fix?
Diffstat (limited to 'src/main/python/main.py')
-rw-r--r-- | src/main/python/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/python/main.py b/src/main/python/main.py index 207701e..9fc08bf 100644 --- a/src/main/python/main.py +++ b/src/main/python/main.py @@ -42,6 +42,7 @@ class appWindow(QMainWindow): mainLayout.setObjectName("Main Layout") self.mdi = QMdiArea(self) #create area for files to be displayed + self.mdi.setObjectName('mdi area') #create toolbar and add the toolbar plus mdi to layout self.createToolbar() @@ -70,7 +71,7 @@ class appWindow(QMainWindow): if not project.tabList: # important when unpickling a file instead project.newDiagram() #create a new tab in the new file project.show() - project.resizeHandler(self.mdi) + project.resizeHandler() def openProject(self): #show the open file dialog to open a saved file, then unpickle it. |