From ab37b0a1430c751223f679f9809c677b4ca9ac48 Mon Sep 17 00:00:00 2001 From: DevilXD <4180725+DevilXD@users.noreply.github.com> Date: Wed, 11 Sep 2024 17:09:26 +0200 Subject: [PATCH] Don't show sub-only campaigns in the inventory view --- gui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui.py b/gui.py index af20535..b8b2a02 100644 --- a/gui.py +++ b/gui.py @@ -1306,7 +1306,8 @@ class InventoryOverview: finished = bool(self._filters["finished"].get()) priority_only = self._settings.priority_only if ( - (not_linked or campaign.linked) + campaign.remaining_minutes > 0 # don't show sub-only campaigns + and (not_linked or campaign.linked) and (campaign.active or upcoming and campaign.upcoming or expired and campaign.expired) and ( excluded or (