eric6/Preferences/ConfigurationPages/HelpAppearancePage.py

changeset 6999
f23e546a7eb9
parent 6942
2602857055c5
diff -r a63ca2373f44 -r f23e546a7eb9 eric6/Preferences/ConfigurationPages/HelpAppearancePage.py
--- a/eric6/Preferences/ConfigurationPages/HelpAppearancePage.py	Sat May 04 14:44:11 2019 +0200
+++ b/eric6/Preferences/ConfigurationPages/HelpAppearancePage.py	Sat May 04 14:45:04 2019 +0200
@@ -64,8 +64,6 @@
         
         self.styleSheetPicker.setText(Preferences.getHelp("UserStyleSheet"))
         
-        self.tabsCloseButtonCheckBox.setChecked(
-            Preferences.getUI("SingleCloseButton"))
         self.warnOnMultipleCloseCheckBox.setChecked(
             Preferences.getHelp("WarnOnMultipleClose"))
     
@@ -86,8 +84,6 @@
         )
         
         self.__displayMode = displayMode
-        if self.__displayMode != ConfigurationWidget.HelpBrowserMode:
-            self.tabsGroupBox.hide()
     
     def save(self):
         """
@@ -104,12 +100,6 @@
         
         self.saveColours(Preferences.setHelp)
         
-        from ..ConfigurationDialog import ConfigurationWidget
-        if self.__displayMode == ConfigurationWidget.HelpBrowserMode:
-            Preferences.setUI(
-                "SingleCloseButton",
-                self.tabsCloseButtonCheckBox.isChecked())
-        
         Preferences.setHelp(
             "WarnOnMultipleClose",
             self.warnOnMultipleCloseCheckBox.isChecked())

eric ide

mercurial