diff options
author | Blaine | 2020-04-30 14:29:36 +0530 |
---|---|---|
committer | Blaine | 2020-04-30 14:29:36 +0530 |
commit | 3d75d12cb5f90b3af03e7408cbdb805426485a1c (patch) | |
tree | 07055502d040ac25c959a3d9e9e254c9624ac283 /src/main/python/utils/fileWindow.py | |
parent | c6c699b2c231616b17625d355ec269b1a51809a5 (diff) | |
download | Chemical-PFD-3d75d12cb5f90b3af03e7408cbdb805426485a1c.tar.gz Chemical-PFD-3d75d12cb5f90b3af03e7408cbdb805426485a1c.tar.bz2 Chemical-PFD-3d75d12cb5f90b3af03e7408cbdb805426485a1c.zip |
small dialog box fix
Diffstat (limited to 'src/main/python/utils/fileWindow.py')
-rw-r--r-- | src/main/python/utils/fileWindow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/python/utils/fileWindow.py b/src/main/python/utils/fileWindow.py index bab9004..d5ad19f 100644 --- a/src/main/python/utils/fileWindow.py +++ b/src/main/python/utils/fileWindow.py @@ -76,7 +76,7 @@ class fileWindow(QMdiSubWindow): #helper function to the context menu dialog box currentTab = self.tabber.currentWidget() result = dialogs.paperDims(self, currentTab._canvasSize, currentTab._ppi, currentTab.objectName()).exec_() - if result: + if result is not None: currentTab.canvasSize, currentTab.ppi = result return self.resizeHandler() else: |