Account for older versions of Qt

This commit is contained in:
BasioMeusPuga
2018-05-03 08:37:22 -04:00
parent ebc3ef9f1b
commit 3e54340694
3 changed files with 14 additions and 4 deletions

View File

@@ -324,6 +324,8 @@ class SettingsUI(QtWidgets.QDialog, settingswindow.Ui_Dialog):
self.gather_annotations()
Settings(self.main_window).save_settings()
Settings(self.main_window).read_settings()
self.main_window.settings['last_open_tab'] = None # Needed to allow focus change
# to newly opened book
self.resizeEvent()
def resizeEvent(self, event=None):