summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Db_autobackups/src/options.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Db_autobackups/src/options.cpp b/plugins/Db_autobackups/src/options.cpp
index cb9c641ded..72445f4671 100644
--- a/plugins/Db_autobackups/src/options.cpp
+++ b/plugins/Db_autobackups/src/options.cpp
@@ -29,7 +29,6 @@ COptionsDlg::COptionsDlg()
m_cloudFileService(this, IDC_CLOUDFILESEVICE)
{
CreateLink(m_period, options.period);
- CreateLink(m_periodType, options.period_type);
CreateLink(m_numBackups, options.num_backups);
CreateLink(m_disableProgress, options.disable_progress);
CreateLink(m_disablePopups, options.disable_popups);
@@ -119,6 +118,8 @@ void COptionsDlg::OnApply()
SetBackupTimer();
+ options.period_type = m_periodType.GetCurSel();
+
ptrW folder(m_folder.GetText());
{
wchar_t backupfolder[MAX_PATH];