diff options
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. |