changing profile on data download

This commit is contained in:
DYefremov
2020-02-10 17:00:46 +03:00
parent 2723d255fe
commit de49179dd2
3 changed files with 10 additions and 5 deletions

View File

@@ -895,6 +895,10 @@ class Application(Gtk.Application):
yield from self.clear_current_data()
try:
current_profile = self._profile_combo_box.get_active_text()
if current_profile != self._settings.current_profile:
self.init_profiles(self._settings.current_profile)
prf = self._s_type
black_list = get_blacklist(data_path)
bouquets = get_bouquets(data_path, prf)