Skip to content

Commit

Permalink
Update network settings on profile change (#2160)
Browse files Browse the repository at this point in the history
  • Loading branch information
m3nu authored Dec 4, 2024
1 parent 64a24d8 commit dfba373
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vorta/views/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit dfba373

Please sign in to comment.