--- a/src/eric7/Preferences/ConfigurationPages/NotificationsPage.py Sun Nov 06 11:22:39 2022 +0100 +++ b/src/eric7/Preferences/ConfigurationPages/NotificationsPage.py Mon Nov 07 17:19:58 2022 +0100 @@ -100,9 +100,9 @@ @param checked state of the button (boolean) """ + from eric7.UI.NotificationWidget import NotificationWidget + if checked: - from eric7.UI.NotificationWidget import NotificationWidget - self.__notification = NotificationWidget(parent=self, setPosition=True) self.__notification.showNotification( NotificationFrame.getIcon(NotificationTypes.OTHER),