From a64e5e224d29636a5d9e80b5760da7993d795bcd Mon Sep 17 00:00:00 2001 From: Blaine Date: Tue, 28 Apr 2020 22:27:41 +0530 Subject: The Fix? --- src/main/python/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/python/main.py') 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. -- cgit