account_switcher updated to save config on switch

This commit is contained in:
Loup-Garou911XD 2025-12-30 13:37:18 +05:30
parent a06df9c050
commit 239a237e8f
2 changed files with 2 additions and 0 deletions

View file

@ -229,6 +229,7 @@ class AccountSwitcherUI(bui.Window):
return
account_folder = path.join(ACCOUNTS_DIR, self._selected_profile)
self.save_current_account()
def do_switch():
for fname in ACCOUNT_FILES:
dest = path.join(USER_DIR, fname)