From f40b2ce583f05b0756c4552f2e46535bea2c0c39 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 11 Oct 2023 13:13:42 +0300 Subject: =?UTF-8?q?fixes=20#3729=20(Db=5Fautobackuper:=20=D0=BE=D0=BF?= =?UTF-8?q?=D1=86=D0=B8=D1=8F=20"=D0=BA=D0=BE=D0=BB=D0=B8=D1=87=D0=B5?= =?UTF-8?q?=D1=81=D1=82=D0=B2=D0=BE=20=D1=80=D0=B5=D0=B7=D0=B5=D1=80=D0=B2?= =?UTF-8?q?=D0=BD=D1=8B=D1=85=20=D0=BA=D0=BE=D0=BF=D0=B8=D0=B9"=20=D0=BD?= =?UTF-8?q?=D0=B5=D0=B4=D0=BE=D1=81=D1=82=D1=83=D0=BF=D0=BD=D0=B0=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=20=D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D1=91=D0=BD?= =?UTF-8?q?=D0=BD=D0=BE=D0=BC=20=D0=B0=D0=B2=D1=82=D0=BE=D0=BC=D0=B0=D1=82?= =?UTF-8?q?=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=BE=D0=BC=20=D1=80=D0=B5=D0=B7?= =?UTF-8?q?=D0=B5=D1=80=D0=B2=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B8,=20=D0=BD=D0=BE=20=D0=B2=D0=BB=D0=B8=D1=8F=D0=B5=D1=82?= =?UTF-8?q?=20=D0=BD=D0=B0=20=D1=80=D1=83=D1=87=D0=BD=D1=8B=D0=B5=20=D1=80?= =?UTF-8?q?=D0=B5=D0=B7=D0=B5=D1=80=D0=B2=D0=BD=D1=8B=D0=B5=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BF=D0=B8=D0=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/Db_autobackups/src/options.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/Db_autobackups/src/options.cpp b/plugins/Db_autobackups/src/options.cpp index 86826b68e1..01d41ea262 100644 --- a/plugins/Db_autobackups/src/options.cpp +++ b/plugins/Db_autobackups/src/options.cpp @@ -9,15 +9,12 @@ class COptionsDlg : public CDlgBase void SetDialogState() { auto *periodText = FindControl(IDC_ED_PERIOD); - auto *numBackupsText = FindControl(IDC_ED_NUMBACKUPS); bool bEnabled = m_enabled.IsChecked(); m_backupOnStart.Enable(bEnabled); m_backupOnExit.Enable(bEnabled); m_backupPeriodic.Enable(bEnabled); m_nextTime.Enable(bEnabled); - numBackupsText->Enable(bEnabled); - m_numBackups.Enable(bEnabled); m_backup.Enable(bEnabled); m_folder.Enable(bEnabled); m_browseFolder.Enable(bEnabled); @@ -179,8 +176,6 @@ public: m_backupPeriodic.SetState(g_plugin.backup_types & BT_PERIODIC ? TRUE : FALSE); onChange_Period(0); - m_numBackups.SetPosition(g_plugin.num_backups); - m_periodType.AddString(TranslateT("days")); m_periodType.AddString(TranslateT("hours")); m_periodType.AddString(TranslateT("minutes")); -- cgit v1.2.3