From ba2c0fd7ddc755d6d34ea46f46e94bfc928ed078 Mon Sep 17 00:00:00 2001 From: Manu <3916435+m3nu@users.noreply.github.com> Date: Tue, 22 Oct 2024 16:20:36 +0100 Subject: [PATCH] Move populate_from_profile() to right place (#2103) --- src/vorta/views/schedule_page.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vorta/views/schedule_page.py b/src/vorta/views/schedule_page.py index e225dacb..fee539d1 100644 --- a/src/vorta/views/schedule_page.py +++ b/src/vorta/views/schedule_page.py @@ -23,8 +23,6 @@ def __init__(self, parent=None): 'fixed': self.scheduleFixedRadio, } - self.populate_from_profile() - self.scheduleIntervalUnit.addItem(self.tr('Minutes'), 'minutes') self.scheduleIntervalUnit.addItem(self.tr('Hours'), 'hours') self.scheduleIntervalUnit.addItem(self.tr('Days'), 'days') @@ -64,6 +62,7 @@ def __init__(self, parent=None): ) self.app.scheduler.schedule_changed.connect(lambda pid: self.draw_next_scheduled_backup()) + self.populate_from_profile() def on_scheduler_change(self, _): profile = self.profile()