Skip to content

Commit

Permalink
8.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
redvox committed Jan 15, 2025
1 parent fa2f108 commit fd39591
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ Changes will be grouped by the following categories (and their respective versio

Release dates will be in YYYY-MM-DD format.

## 8.0.1 - 2025-01-15

### Fixed
- Fix an issue where the copy menu were never reset and would accumulate more entries with each login.

## 8.0.0 - 2025-01-15

### Changed
Expand Down
2 changes: 1 addition & 1 deletion app/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = (8, 0, 0)
__version__ = (8, 0, 1)
__version_string__ = '.'.join(str(i) for i in __version__)
6 changes: 4 additions & 2 deletions app/gui/trayicon.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ def populate_context_menu(self, profile_list: List[ProfileGroup]):

def update_copy_menus(self, active_profile_group: ProfileGroup):
self.copy_name_menu.setDisabled(False)
self.copy_name_menu.clear()
self.copy_id_menu.setDisabled(False)
self.copy_id_menu.clear()

for profile in active_profile_group.get_profile_list():
copy_name_action = self.copy_name_menu.addAction(profile.profile)
Expand All @@ -134,10 +136,10 @@ def update_copy_menus(self, active_profile_group: ProfileGroup):
copy_id_action.triggered.connect(partial(self.copy_to_clipboard, text=str(profile.account)))

def reset_copy_menus(self):
self.copy_name_menu.clear()
self.copy_name_menu.setDisabled(True)
self.copy_id_menu.clear()
self.copy_name_menu.clear()
self.copy_id_menu.setDisabled(True)
self.copy_id_menu.clear()

def disable_actions(self, state: bool):
for action in self.actions:
Expand Down

0 comments on commit fd39591

Please sign in to comment.