eric6/Preferences/ConfigurationPages/NotificationsPage.py

changeset 7955
567f2ec958c3
parent 7952
1849f61cf2b6
child 7959
44e15eda6506
--- a/eric6/Preferences/ConfigurationPages/NotificationsPage.py	Mon Jan 04 16:39:09 2021 +0100
+++ b/eric6/Preferences/ConfigurationPages/NotificationsPage.py	Mon Jan 04 16:39:37 2021 +0100
@@ -39,8 +39,6 @@
         self.__firstTime = True
         
         # set initial values
-        self.enableCheckBox.setChecked(
-            Preferences.getUI("NotificationsEnabled"))
         self.timeoutSpinBox.setValue(Preferences.getUI("NotificationTimeout"))
         point = Preferences.getUI("NotificationPosition")
         self.xSpinBox.setValue(point.x())
@@ -53,8 +51,6 @@
         """
         Public slot to save the Notifications configuration.
         """
-        Preferences.setUI(
-            "NotificationsEnabled", self.enableCheckBox.isChecked())
         Preferences.setUI("NotificationTimeout", self.timeoutSpinBox.value())
         Preferences.setUI("NotificationPosition", QPoint(
             self.xSpinBox.value(), self.ySpinBox.value()))

eric ide

mercurial