diff options
Diffstat (limited to 'plugins/Import/src')
-rw-r--r-- | plugins/Import/src/stdafx.h | 2 | ||||
-rw-r--r-- | plugins/Import/src/wizard.cpp | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/Import/src/stdafx.h b/plugins/Import/src/stdafx.h index 2382cf261f..a8629c7a13 100644 --- a/plugins/Import/src/stdafx.h +++ b/plugins/Import/src/stdafx.h @@ -222,6 +222,8 @@ public: class CFinishedPageDlg : public CWizardPageDlg
{
+ typedef CWizardPageDlg CSuper;
+
public:
CFinishedPageDlg();
int Resizer(UTILRESIZECONTROL *urc) override;
diff --git a/plugins/Import/src/wizard.cpp b/plugins/Import/src/wizard.cpp index 9693717214..4345f30986 100644 --- a/plugins/Import/src/wizard.cpp +++ b/plugins/Import/src/wizard.cpp @@ -53,7 +53,7 @@ void CIntroPageDlg::OnNext() // Final wizard page
CFinishedPageDlg::CFinishedPageDlg() :
- CWizardPageDlg(IDD_FINISHED)
+ CSuper(IDD_FINISHED)
{}
bool CFinishedPageDlg::OnInitDialog()
@@ -77,9 +77,9 @@ void CFinishedPageDlg::OnNext() void CFinishedPageDlg::OnCancel()
{
if (IsDlgButtonChecked(m_hwnd, IDC_DONTLOADPLUGIN))
- db_set_b(0, "PluginDisable", "import", 1);
+ SetPluginOnWhiteList("import", false);
- CWizardPageDlg::OnCancel();
+ CSuper::OnCancel();
}
/////////////////////////////////////////////////////////////////////////////////////////
|