Skip to content

Commit

Permalink
Change icon when devices disconnected
Browse files Browse the repository at this point in the history
#1911 introduced a bug.

Fixes #2321
  • Loading branch information
cschramm committed Apr 3, 2024
1 parent 76e5307 commit c5d1621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blueman/plugins/applet/ShowConnected.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def on_device_property_changed(self, path: str, key: str, value: Any) -> None:
else:
self._connections.remove(path)

if (self._connections and not self.active) or (self._connections and self.active):
if (self._connections and not self.active) or (not self._connections and self.active):
self.parent.Plugins.StatusIcon.icon_should_change()

self.update_statusicon()
Expand Down

0 comments on commit c5d1621

Please sign in to comment.