summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-04-13 23:44:31 +0300
committeraunsane <aunsane@gmail.com>2018-04-13 23:45:43 +0300
commitb465f567bafd8a58b004a1341f228e117677a6ec (patch)
treefeeeaa269f60b0dbf07da710144fc12c6b40e52b /plugins
parentf676edb856fbcf0406965bf14692e13ba2e55b0e (diff)
Db_autobackups: fix period type saving
Diffstat (limited to 'plugins')
-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];