summaryrefslogtreecommitdiff
path: root/plugins/MyDetails/src
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2019-01-06 01:58:27 +0300
committerMataes <mataes2007@gmail.com>2019-01-06 01:58:50 +0300
commit118b6981e9f35191e36943fdb46bcb3a016d3f4c (patch)
tree402b47f1663fba69a72102a9585c2fc7a6b7711d /plugins/MyDetails/src
parent86bc8a74779efe7eeb306a14bd2191e11bb27583 (diff)
MyDetails: fix options save
Diffstat (limited to 'plugins/MyDetails/src')
-rw-r--r--plugins/MyDetails/src/options.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/MyDetails/src/options.cpp b/plugins/MyDetails/src/options.cpp
index 0ddc30a187..97c8315469 100644
--- a/plugins/MyDetails/src/options.cpp
+++ b/plugins/MyDetails/src/options.cpp
@@ -212,6 +212,15 @@ public:
m_chkUseCLSmilies.Enable(enabled);
m_chkResizeSmilies.Enable(enabled);
}
+
+ INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) override
+ {
+ BOOL ret = SaveOptsDlgProc(pageControls, _countof(pageControls), MODULENAME, m_hwnd, msg, wParam, lParam);
+ if (ret)
+ return ret;
+ else
+ return CDlgBase::DlgProc(msg, wParam, lParam);
+ }
};
int InitOptionsCallback(WPARAM wParam, LPARAM)