diff options
author | Blaine | 2020-04-28 15:32:21 +0530 |
---|---|---|
committer | Blaine | 2020-04-28 15:32:21 +0530 |
commit | 19f5df0a0dff91ca775f7a05aec8d5199b7ca513 (patch) | |
tree | 4e59871fdfc34e498aaf3a71628ae0dc33ad98bf /src/main/python/main.py | |
parent | 2e8523900f9bb0a7ced4ed967c4ccc63b682f8ca (diff) | |
download | Chemical-PFD-19f5df0a0dff91ca775f7a05aec8d5199b7ca513.tar.gz Chemical-PFD-19f5df0a0dff91ca775f7a05aec8d5199b7ca513.tar.bz2 Chemical-PFD-19f5df0a0dff91ca775f7a05aec8d5199b7ca513.zip |
weird
Diffstat (limited to 'src/main/python/main.py')
-rw-r--r-- | src/main/python/main.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/python/main.py b/src/main/python/main.py index eb1805a..207701e 100644 --- a/src/main/python/main.py +++ b/src/main/python/main.py @@ -9,7 +9,8 @@ from PyQt5.QtWidgets import (QComboBox, QFileDialog, QFormLayout, QHBoxLayout, QLabel, QMainWindow, QMenu, QMenuBar, QPushButton, QTabWidget, QWidget, QMdiArea, QMessageBox) -from utils.canvas import canvas, fileWindow +from utils.canvas import canvas +from utils.fileWindow import fileWindow from utils.sizes import ppiList, sheetDimensionList from utils import dialogs @@ -79,8 +80,7 @@ class appWindow(QMainWindow): with open(files,'rb') as file: project = pickle.load(file) self.mdi.addSubWindow(project) - project.show() - project.resizeHandler(self.mdi) + project.show() def saveProject(self): #pickle all files in mdi area |