From c0bca60246f98f230b404c6caaea7c8f668155ac Mon Sep 17 00:00:00 2001 From: Nils <> Date: Fri, 18 Dec 2020 10:30:14 +0100 Subject: [PATCH] update template --- template/qtgui/mainwindow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/qtgui/mainwindow.py b/template/qtgui/mainwindow.py index 370b014..a94153f 100644 --- a/template/qtgui/mainwindow.py +++ b/template/qtgui/mainwindow.py @@ -146,6 +146,8 @@ class MainWindow(QtWidgets.QMainWindow): #TODO: this is a hack until we figure out how to cleanly handle hide vs quite from outside the application self.hideGUI() + self._zoom() #enable zoom factor loaded from save file + #def event(self, event): # print (event.type()) # return super().event(event)