mirror of
https://github.com/borgbase/vorta
synced 2024-12-22 07:43:09 +00:00
Move populate_from_profile() to right place (#2103)
This commit is contained in:
parent
29fa83ceb5
commit
ba2c0fd7dd
1 changed files with 1 additions and 2 deletions
|
@ -23,8 +23,6 @@ def __init__(self, parent=None):
|
||||||
'fixed': self.scheduleFixedRadio,
|
'fixed': self.scheduleFixedRadio,
|
||||||
}
|
}
|
||||||
|
|
||||||
self.populate_from_profile()
|
|
||||||
|
|
||||||
self.scheduleIntervalUnit.addItem(self.tr('Minutes'), 'minutes')
|
self.scheduleIntervalUnit.addItem(self.tr('Minutes'), 'minutes')
|
||||||
self.scheduleIntervalUnit.addItem(self.tr('Hours'), 'hours')
|
self.scheduleIntervalUnit.addItem(self.tr('Hours'), 'hours')
|
||||||
self.scheduleIntervalUnit.addItem(self.tr('Days'), 'days')
|
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.app.scheduler.schedule_changed.connect(lambda pid: self.draw_next_scheduled_backup())
|
||||||
|
self.populate_from_profile()
|
||||||
|
|
||||||
def on_scheduler_change(self, _):
|
def on_scheduler_change(self, _):
|
||||||
profile = self.profile()
|
profile = self.profile()
|
||||||
|
|
Loading…
Reference in a new issue