From 16133fc3ddb4952e78a20078ece5440766b76f73 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 28 Dec 2017 13:46:59 +0300 Subject: StopSpam+: description returned --- plugins/StopSpamPlus/src/options.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins/StopSpamPlus') diff --git a/plugins/StopSpamPlus/src/options.cpp b/plugins/StopSpamPlus/src/options.cpp index 4d041f0264..da64a57d50 100644 --- a/plugins/StopSpamPlus/src/options.cpp +++ b/plugins/StopSpamPlus/src/options.cpp @@ -4,13 +4,14 @@ const wchar_t pluginDescription[] = LPGENW("No more spam! Robots can't go! Only class COptMainDlg : public CPluginDlgBase { - CCtrlEdit edtCount; + CCtrlEdit edtCount, edtDescr; CCtrlCheck chk1, chk2, chk3, chk4, chk5, chk6; public: COptMainDlg() : CPluginDlgBase(hInst, IDD_MAIN, pluginName), edtCount(this, ID_MAXQUESTCOUNT), + edtDescr(this, ID_DESCRIPTION), chk1(this, ID_INFTALKPROT), chk2(this, ID_ADDPERMANENT), chk3(this, ID_HANDLEAUTHREQ), @@ -27,6 +28,11 @@ public: CreateLink(chk5, g_sets.RemTmpAll); CreateLink(chk6, g_sets.HistLog); } + + virtual void OnInitDialog() override + { + edtDescr.SetText(pluginDescription); + } }; ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3