src/eric7/Preferences/ConfigurationPages/NotificationsPage.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
--- 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),

eric ide

mercurial