eric6/Preferences/ConfigurationPages/NotificationsPage.py

changeset 8205
4a0f1f896341
parent 7959
44e15eda6506
child 8218
7c09585bd960
--- a/eric6/Preferences/ConfigurationPages/NotificationsPage.py	Thu Apr 08 17:27:12 2021 +0200
+++ b/eric6/Preferences/ConfigurationPages/NotificationsPage.py	Thu Apr 08 18:27:47 2021 +0200
@@ -85,7 +85,7 @@
         Preferences.setUI("NotificationPosition", QPoint(
             self.xSpinBox.value(), self.ySpinBox.value()))
         
-        for key in self.__colors.keys():
+        for key in self.__colors:
             Preferences.setUI(key, self.__colors[key])
     
     @pyqtSlot(bool)

eric ide

mercurial