diff --git a/radiolog.py b/radiolog.py index 13d382b..47d60d2 100644 --- a/radiolog.py +++ b/radiolog.py @@ -1327,9 +1327,6 @@ def __init__(self,parent): # the same flags don't do the trick inside the QMessageBox constructor for whatever reason self.newEntryWindowHiddenPopup.setWindowFlags(Qt.Dialog|Qt.CustomizeWindowHint|Qt.WindowTitleHint|Qt.MSWindowsFixedSizeDialogHint|Qt.WindowStaysOnTopHint) - if restoreFlag: - self.restore() - # make sure x/y/w/h from resource file will fit on the available display d=QApplication.desktop() if (self.x+self.w > d.width()) or (self.y+self.h > d.height()): @@ -1348,6 +1345,10 @@ def __init__(self,parent): self.clueLogDialog.setGeometry(int(self.clueLog_x),int(self.clueLog_y),int(self.clueLog_w),int(self.clueLog_h)) self.fontsChanged() + #734 move restore to just after fontsChanged, which defines font size variables + if restoreFlag: + self.restore() + self.previousActiveWindowName='None' self.ui.timeoutLabel.setText("TIMEOUT:\n"+timeoutDisplayList[self.optionsDialog.ui.timeoutField.value()][0])