From 803b5a53f145e08a1c2a5a730b2f0a796a83a7a2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 13 Apr 2018 17:46:06 +0300 Subject: by default the upper limit is 100, so if we work with higher values, we need to set a value manually --- plugins/Db_autobackups/src/options.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/Db_autobackups/src') diff --git a/plugins/Db_autobackups/src/options.cpp b/plugins/Db_autobackups/src/options.cpp index 837487560c..cb9c641ded 100644 --- a/plugins/Db_autobackups/src/options.cpp +++ b/plugins/Db_autobackups/src/options.cpp @@ -53,7 +53,9 @@ void COptionsDlg::OnInitDialog() m_backupPeriodic.SetState(options.backup_types & BT_PERIODIC ? TRUE : FALSE); m_period.SetRange(60, 1); + m_numBackups.SetRange(9999, 1); + m_numBackups.SetPosition(options.num_backups); m_periodType.AddString(TranslateT("days")); m_periodType.AddString(TranslateT("hours")); -- cgit v1.2.3