rm unavailable iptv fix

This commit is contained in:
DYefremov
2020-06-03 11:25:53 +03:00
parent e7d96b0cbb
commit 72583ba879

View File

@@ -1711,7 +1711,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 **********************#