fix -> mark not present in bouquets (#197)

This commit is contained in:
DYefremov
2024-03-29 20:35:48 +03:00
parent dd796c0f88
commit 3ede2e2b07

View File

@@ -4105,8 +4105,8 @@ class Application(Gtk.Application):
for index, row in enumerate(self._services_model):
fav_id = row[Column.SRV_FAV_ID]
if fav_id not in ids:
row[Column.SRV_BACKGROUND] = self._EXTRA_COLOR
bg = self.get_new_background(row[Column.SRV_CAS_FLAGS]) if fav_id in ids else self._EXTRA_COLOR
row[Column.SRV_BACKGROUND] = bg
if index % self.FAV_FACTOR == 0:
yield True