--- 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)