From 55822ab5774a92179d021b69824e8aefc7b6f9ce Mon Sep 17 00:00:00 2001 From: shivansh02 Date: Thu, 1 Aug 2024 20:07:01 +0530 Subject: [PATCH] pallete_changed moved to schedule_tab --- src/vorta/views/schedule_page.py | 2 -- src/vorta/views/schedule_tab.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vorta/views/schedule_page.py b/src/vorta/views/schedule_page.py index d102fb72..e225dacb 100644 --- a/src/vorta/views/schedule_page.py +++ b/src/vorta/views/schedule_page.py @@ -65,8 +65,6 @@ def __init__(self, parent=None): self.app.scheduler.schedule_changed.connect(lambda pid: self.draw_next_scheduled_backup()) - self.app.paletteChanged.connect(lambda p: self.set_icons()) - def on_scheduler_change(self, _): profile = self.profile() for label, obj in self.schedulerRadioMapping.items(): diff --git a/src/vorta/views/schedule_tab.py b/src/vorta/views/schedule_tab.py index b4ec5758..bda7ffa9 100644 --- a/src/vorta/views/schedule_tab.py +++ b/src/vorta/views/schedule_tab.py @@ -25,6 +25,7 @@ def __init__(self, parent=None): self.init_shell_commands_page() self.init_networks_page() self.init_schedule_page() + self.app.paletteChanged.connect(lambda p: self.set_icons()) self.app.backup_finished_event.connect(self.logPage.populate_logs)