From fa07f8bf8585a75e845880f0561d8076d1a8781c Mon Sep 17 00:00:00 2001 From: DYefremov Date: Fri, 12 Nov 2021 19:11:19 +0300 Subject: [PATCH] fix picon path on profile change --- app/ui/picons.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/ui/picons.py b/app/ui/picons.py index 7317ea0f..4938a90e 100644 --- a/app/ui/picons.py +++ b/app/ui/picons.py @@ -571,6 +571,7 @@ class PiconManager(Gtk.Box): dest_path = path or self._settings.profile_picons_path settings = Settings(self._settings.settings) settings.profile_picons_path = f"{dest_path}{SEP}" + settings.current_profile = self._settings.current_profile self.show_info_message(get_message("Please, wait..."), Gtk.MessageType.INFO) self.run_func(lambda: upload_data(settings=settings, download_type=DownloadType.PICONS, @@ -583,6 +584,7 @@ class PiconManager(Gtk.Box): path = path or self._settings.profile_picons_path settings = Settings(self._settings.settings) settings.profile_picons_path = path + SEP + settings.current_profile = self._settings.current_profile self.run_func(lambda: download_data(settings=settings, download_type=DownloadType.PICONS, callback=self.append_output,