rm unavailable iptv fix

This commit is contained in:
DYefremov
2020-06-03 11:25:53 +03:00
parent 77a3edead2
commit 0e10631931

View File

@@ -1746,7 +1746,8 @@ class Application(Gtk.Application):
fav_bqt = self._bouquets.get(self._bq_selected, None)
response = SearchUnavailableDialog(self._main_window, self._fav_model, fav_bqt, iptv_rows, self._s_type).show()
if response:
next(self.remove_favs(response, self._fav_model), False)
gen = self.remove_favs(response, self._fav_model)
GLib.idle_add(lambda: next(gen, False), priority=GLib.PRIORITY_LOW)
# ****************** EPG **********************#