Skip to content

Commit

Permalink
Fixed double update when setting icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Adastram1 committed Jun 6, 2024
1 parent 35e54bb commit 1193a22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Setting up
setup(
name="tray_manager",
version="1.0.2",
version="1.0.3",
url="https://github.com/Adastram1/tray_manager",
license="GNU Lesser General Public License v3 (LGPLv3)",

Expand Down
1 change: 0 additions & 1 deletion tray_manager/tray_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,6 @@ def set_icon(self, name: Union[str, Values.DEFAULT], show: bool = True) -> None:

if show: # Show the icon in the system tray
self.show()
self.tray.update_menu()
return

def show(self) -> None:
Expand Down

0 comments on commit 1193a22

Please sign in to comment.