diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-13 17:46:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-13 17:46:06 +0300 |
commit | 803b5a53f145e08a1c2a5a730b2f0a796a83a7a2 (patch) | |
tree | 879d4429598572e75fbd101b97fd66403784700a /plugins/Db_autobackups | |
parent | 864dafee5d76c474b11ff034a108189af65043b9 (diff) |
by default the upper limit is 100, so if we work with higher values, we need to set a value manually
Diffstat (limited to 'plugins/Db_autobackups')
-rw-r--r-- | plugins/Db_autobackups/src/options.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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"));
|