From b465f567bafd8a58b004a1341f228e117677a6ec Mon Sep 17 00:00:00 2001 From: aunsane Date: Fri, 13 Apr 2018 23:44:31 +0300 Subject: Db_autobackups: fix period type saving --- plugins/Db_autobackups/src/options.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Db_autobackups') 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]; -- cgit v1.2.3