From dfba373871474429a1b716f850b03484afd8a247 Mon Sep 17 00:00:00 2001 From: Manu <3916435+m3nu@users.noreply.github.com> Date: Wed, 4 Dec 2024 14:33:39 +0000 Subject: [PATCH] Update network settings on profile change (#2160) --- src/vorta/views/main_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vorta/views/main_window.py b/src/vorta/views/main_window.py index a1f32f06..7b3e21d1 100644 --- a/src/vorta/views/main_window.py +++ b/src/vorta/views/main_window.py @@ -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()