DYefremov / DemonEditor

Enigma2 channel and satellite list editor for GNU/Linux and macOS.
https://dyefremov.github.io/DemonEditor
MIT License
116 stars 142 forks source link

Bug in "mark not present in bouquets" #197

Closed risky777 closed 6 months ago

risky777 commented 6 months ago

There seems to be a bug in "app/ui/main.py" in function "mark_not_in_bouquets". Critical code looks like:

if fav_id not in ids: row[Column.SRV_BACKGROUND] = self._EXTRA_COLOR

and it should look like:

if fav_id not in ids: row[Column.SRV_BACKGROUND] = self._EXTRA_COLOR else: row[Column.SRV_BACKGROUND] = self.get_new_background(row[Column.SRV_CAS_FLAGS])

(I've copied "else" from function "clear_marked")

At present, on table services context-menu "Mark not present in Bouquets" behaves like this:

DYefremov commented 6 months ago

Yes, this is a bug. Corrected.