Skip to content

Commit

Permalink
fix(applet): ActivationReason.Trigger
Browse files Browse the repository at this point in the history
(cherry picked from commit e0581a8)
  • Loading branch information
buxit authored and erig0 committed Oct 2, 2023
1 parent e334d07 commit 0bfffb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/firewall-applet.in
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ class TrayApplet(QtWidgets.QSystemTrayIcon):
self.setVisible(True)

def activated_cb(self, reason):
if reason == QtWidgets.QSystemTrayIcon.Trigger:
if reason == QtWidgets.QSystemTrayIcon.ActivationReason.Trigger:
self.left_menu.popup(QtGui.QCursor.pos())

def update_active_zones(self):
Expand Down

0 comments on commit 0bfffb3

Please sign in to comment.