summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/StopSpamPlus/src/options.cpp8
1 files changed, 7 insertions, 1 deletions
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);
+ }
};
/////////////////////////////////////////////////////////////////////////////////////////