diff options
Diffstat (limited to 'src/main/python/utils/fileWindow.py')
-rw-r--r-- | src/main/python/utils/fileWindow.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/python/utils/fileWindow.py b/src/main/python/utils/fileWindow.py index e549568..8f2fd32 100644 --- a/src/main/python/utils/fileWindow.py +++ b/src/main/python/utils/fileWindow.py @@ -18,6 +18,7 @@ class fileWindow(QMdiSubWindow): canvases. Pre-Defined so that a file can be instantly created without defining the structure again. """ fileCloseEvent = pyqtSignal(int) + tabChangeEvent = pyqtSignal() def __init__(self, parent = None, title = 'New Project', size = 'A4', ppi = '72'): super(fileWindow, self).__init__(parent) @@ -203,6 +204,7 @@ class fileWindow(QMdiSubWindow): def changeTab(self, currentIndex): #placeholder function to detect tab change self.resizeHandler() + self.tabChangeEvent.emit() def closeTab(self, currentIndex): #show save alert on tab close |