Skip to content

Commit 1bf2129

Browse files
ui: fixed possible crash handling notifications
1 parent ede079f commit 1bf2129

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/opensnitch/service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ def _on_settings_saved(self):
510510

511511
def _has_desktop_notifications(self):
512512
desk_ntfs_available = self._desktop_notifications.is_available() and self._desktop_notifications.are_enabled()
513+
ntf_type = Config.NOTIFICATION_TYPE_QT
513514
if desk_ntfs_available:
514515
ntf_type = Config.NOTIFICATION_TYPE_SYSTEM
515516
ntf_type = self._cfg.getInt(Config.NOTIFICATIONS_TYPE, ntf_type)

0 commit comments

Comments
 (0)