diff --git a/ChangeLog.txt b/ChangeLog.txt index db2832f7..c3b28393 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,5 +1,8 @@ ViTables ChangeLog ================== +** June 07, 2017 ** +Fixed a minor bug in the Preferences dialog. + ** June 06, 2017 ** The plugins system has been slightly refactored and simplified. diff --git a/vitables/preferences/preferences.py b/vitables/preferences/preferences.py index 6cac7e06..5080c321 100644 --- a/vitables/preferences/preferences.py +++ b/vitables/preferences/preferences.py @@ -85,6 +85,9 @@ def __init__(self): # Setup the page selector widget self.setupSelector() + # Display the General Settings page + self.stackedPages.setCurrentIndex(0) + # Style names can be retrieved with qt.QStyleFactory.keys() styles = QtWidgets.QStyleFactory.keys() self.stylesCB.insertItems(0, styles) diff --git a/vitables/vtapp.py b/vitables/vtapp.py index f91da374..e5939c19 100644 --- a/vitables/vtapp.py +++ b/vitables/vtapp.py @@ -697,14 +697,6 @@ def fileExit(self): Saves current configuration on disk, closes opened files and exits. """ - # Because configuration is always restored from the previous session - # we have to be careful with the Logger and make sure that it is neither - # closed nor floated - if not self.gui.logger_dock.isVisible(): - self.gui.logger_dock.setVisible(True) - if self.gui.logger_dock.isFloating(): - self.gui.logger_dock.setFloating(False) - # Close all browsers if self.doc_browser: self.doc_browser.exitBrowser()