summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/opt_class.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-06 13:19:07 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-06 13:19:07 +0300
commit8b7239f98e8842a3d7ec6db858ebc765acd8d046 (patch)
treea4e78629516302a2ac191dfa749485f2f6a4f73a /plugins/Popup/src/opt_class.cpp
parente0d14e98e7e7e2e413944005c94fbbc2969b908a (diff)
fixes #3821 (NewStory: пропал перевод у кнопок в редакторе шаблонов)
Diffstat (limited to 'plugins/Popup/src/opt_class.cpp')
-rw-r--r--plugins/Popup/src/opt_class.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Popup/src/opt_class.cpp b/plugins/Popup/src/opt_class.cpp
index 2baf726209..4038045cb8 100644
--- a/plugins/Popup/src/opt_class.cpp
+++ b/plugins/Popup/src/opt_class.cpp
@@ -203,10 +203,8 @@ INT_PTR CALLBACK DlgProcOptsClasses(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l
for (auto &it : statusButtons) {
SendDlgItemMessage(hwnd, it.idCtrl, BUTTONSETASFLATBTN, TRUE, 0);
SendDlgItemMessage(hwnd, it.idCtrl, BUTTONSETASPUSHBTN, TRUE, 0);
- SendDlgItemMessage(hwnd, it.idCtrl, BM_SETIMAGE,
- IMAGE_ICON, (LPARAM)Skin_LoadIcon(it.iconId));
- SendDlgItemMessage(hwnd, it.idCtrl, BUTTONADDTOOLTIP,
- (WPARAM)Translate(it.title), 0);
+ SendDlgItemMessage(hwnd, it.idCtrl, BM_SETIMAGE, IMAGE_ICON, (LPARAM)Skin_LoadIcon(it.iconId));
+ SendDlgItemMessage(hwnd, it.idCtrl, BUTTONADDTOOLTIP, (WPARAM)Translate(it.title), 0);
}
// info icon
SendDlgItemMessage(hwnd, IDC_ICO_INFO, STM_SETICON, (WPARAM)g_plugin.getIcon(IDI_MB_INFO), 0);