1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-21 23:33:13 +00:00

Update network settings on profile change (#2160)

This commit is contained in:
Manu 2024-12-04 14:33:39 +00:00 committed by GitHub
parent 64a24d8620
commit dfba373871
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -189,7 +189,10 @@ def profile_selection_changed_action(self, index):
self.repoTab.populate_from_profile()
self.sourceTab.populate_from_profile()
self.scheduleTab.schedulePage.populate_from_profile()
self.scheduleTab.networksPage.populate_wifi()
self.scheduleTab.networksPage.setup_connections()
self.scheduleTab.shellCommandsPage.populate_from_profile()
SettingsModel.update({SettingsModel.str_value: self.current_profile.id}).where(
SettingsModel.key == 'previous_profile_id'
).execute()