From 41ee395da7530c17656bd06f84638ab8d9d3776d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 20 May 2018 23:36:07 +0300 Subject: options API unbound from hLangpack and switched to CMPlugin --- plugins/Db_autobackups/src/options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Db_autobackups/src') diff --git a/plugins/Db_autobackups/src/options.cpp b/plugins/Db_autobackups/src/options.cpp index 23974a9d85..803193cccd 100644 --- a/plugins/Db_autobackups/src/options.cpp +++ b/plugins/Db_autobackups/src/options.cpp @@ -206,7 +206,7 @@ void COptionsDlg::BrowseFolder_OnClick(CCtrlButton*) void COptionsDlg::FoldersPageLink_OnClick(CCtrlHyperlink*) { - Options_Open(L"Customize", L"Folders"); + g_plugin.openOptions(L"Customize", L"Folders"); } void COptionsDlg::SetDialogState() @@ -330,7 +330,7 @@ int OptionsInit(WPARAM wParam, LPARAM) odp.szTitle.a = LPGEN("Automatic backups"); odp.szGroup.a = LPGEN("Database"); odp.pDialog = new COptionsDlg(); - Options_AddPage(wParam, &odp); + g_plugin.addOptions(wParam, &odp); return 0; } -- cgit v1.2.3