Skip to content

Commit

Permalink
🐛 Fix a crash after a redownload after collection removal
Browse files Browse the repository at this point in the history
Fixes #79.
  • Loading branch information
davep committed Jan 11, 2025
1 parent 2a5ae0f commit 757f873
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
- Fixed a problem where groups were showing the total collection count
rather than the count of collections in that group.
([#77](https://github.com/davep/braindrop/issues/77))
- Fixed a crash after a redownload after a populated collection has been
deleted. ([#79](https://github.com/davep/braindrop/issues/79))

## v0.4.0

Expand Down
2 changes: 1 addition & 1 deletion src/braindrop/app/widgets/raindrop_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def _refresh_display(self) -> None:

def _watch_data(self) -> None:
"""React to the data being changed."""
self._refresh_display()
self.raindrop = None

def _watch_raindrop(self) -> None:
"""React to the raindrop being changed."""
Expand Down

0 comments on commit 757f873

Please sign in to comment.