From b2f8aa32ac2e7f91e8d4ddcceef573d96efbf80b Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Wed, 25 Dec 2024 08:06:07 +0000 Subject: [PATCH] :bug: Add workaround for https://github.com/Textualize/textual/issues/5431 --- src/braindrop/app/widgets/navigation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/braindrop/app/widgets/navigation.py b/src/braindrop/app/widgets/navigation.py index 4d250cc..27468f2 100644 --- a/src/braindrop/app/widgets/navigation.py +++ b/src/braindrop/app/widgets/navigation.py @@ -323,6 +323,7 @@ def watch_tags_by_count(self) -> None: def watch_active_collection(self) -> None: """React to the currently-active collection being changed.""" self._show_tags_for(self.active_collection) + self._refresh_lines() # https://github.com/Textualize/textual/issues/5431 @on(OptionList.OptionSelected) def _collection_selected(self, message: OptionList.OptionSelected) -> None: