summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/templates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/templates.cpp')
-rw-r--r--plugins/TabSRMM/src/templates.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/TabSRMM/src/templates.cpp b/plugins/TabSRMM/src/templates.cpp
index 870d9ae07a..b24b4412e5 100644
--- a/plugins/TabSRMM/src/templates.cpp
+++ b/plugins/TabSRMM/src/templates.cpp
@@ -117,7 +117,7 @@ CTemplateEditDlg::CTemplateEditDlg(BOOL _rtl, HWND hwndParent) :
CSuper(IDD_TEMPLATEEDIT),
rtl(_rtl),
edtText(this, IDC_EDITTEMPLATE),
- btnHelp(this, IDC_VARIABLESHELP),
+ urlHelp(this, IDC_VARIABLESHELP, "https://wiki.miranda-ng.org/index.php?title=Plugin:TabSRMM/en/Templates"),
btnSave(this, IDC_SAVETEMPLATE),
btnForget(this, IDC_FORGET),
btnRevert(this, IDC_REVERT),
@@ -136,7 +136,6 @@ CTemplateEditDlg::CTemplateEditDlg(BOOL _rtl, HWND hwndParent) :
edtText.OnChange = Callback(this, &CTemplateEditDlg::onChange_Text);
- btnHelp.OnClick = Callback(this, &CTemplateEditDlg::onClick_Help);
btnSave.OnClick = Callback(this, &CTemplateEditDlg::onClick_Save);
btnForget.OnClick = Callback(this, &CTemplateEditDlg::onClick_Forget);
btnRevert.OnClick = Callback(this, &CTemplateEditDlg::onClick_Revert);
@@ -230,11 +229,6 @@ void CTemplateEditDlg::onClick_Forget(CCtrlButton*)
SendDlgItemMessage(m_hwnd, IDC_EDITTEMPLATE, EM_SETREADONLY, TRUE, 0);
}
-void CTemplateEditDlg::onClick_Help(CCtrlButton*)
-{
- Utils_OpenUrl("https://wiki.miranda-ng.org/index.php?title=Plugin:TabSRMM/en/Templates");
-}
-
void CTemplateEditDlg::onClick_Preview(CCtrlButton*)
{
int iIndex = SendDlgItemMessage(m_hwnd, IDC_TEMPLATELIST, LB_GETCURSEL, 0, 0);