summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-21 19:01:35 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-21 19:01:35 +0300
commitee23690fa6c847a5284f8145e73328cdaab2b617 (patch)
treefc9fa53601eb0babccec11021dc9638c07522f9c /plugins/FTPFileYM/src
parenta455124c53674338f581a1970768182223c3a49a (diff)
SRMM toolbar buttons that require input window to be visible are marked as BBBF_NOREADONLY
Diffstat (limited to 'plugins/FTPFileYM/src')
-rw-r--r--plugins/FTPFileYM/src/ftpfile.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/FTPFileYM/src/ftpfile.cpp b/plugins/FTPFileYM/src/ftpfile.cpp
index f9df1e5591..dbb5921940 100644
--- a/plugins/FTPFileYM/src/ftpfile.cpp
+++ b/plugins/FTPFileYM/src/ftpfile.cpp
@@ -164,14 +164,14 @@ void InitHotkeys()
void InitTabsrmmButton()
{
- BBButton btn = {};
- btn.dwButtonID = 1;
- btn.pszModuleName = MODULENAME;
- btn.dwDefPos = 105;
- btn.hIcon = g_plugin.getIconHandle(IDI_MENU);
- btn.bbbFlags = BBBF_ISARROWBUTTON | BBBF_ISIMBUTTON | BBBF_CANBEHIDDEN;
- btn.pwszTooltip = TranslateT("FTP File");
- Srmm_AddButton(&btn, &g_plugin);
+ BBButton bbd = {};
+ bbd.dwButtonID = 1;
+ bbd.pszModuleName = MODULENAME;
+ bbd.dwDefPos = 105;
+ bbd.hIcon = g_plugin.getIconHandle(IDI_MENU);
+ bbd.bbbFlags = BBBF_ISARROWBUTTON | BBBF_ISIMBUTTON | BBBF_CANBEHIDDEN;
+ bbd.pwszTooltip = TranslateT("FTP File");
+ g_plugin.addButton(&bbd);
HookEvent(ME_MSG_BUTTONPRESSED, TabsrmmButtonPressed);
}