diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-10 10:54:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-10 10:54:30 +0300 |
commit | 763bd3d2dd14c13861f7c48ed142909ef0bc89ab (patch) | |
tree | 0a42d73788c794880df1aecd1beb36224c18283c /protocols/CloudFile | |
parent | 55057af49e92e654f4b88f29add493c55dc51dcf (diff) |
CloudFile: wrong menu initialization sequence
Diffstat (limited to 'protocols/CloudFile')
-rw-r--r-- | protocols/CloudFile/src/events.cpp | 2 | ||||
-rw-r--r-- | protocols/CloudFile/src/main.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/protocols/CloudFile/src/events.cpp b/protocols/CloudFile/src/events.cpp index 010729dddb..8f254bdaa8 100644 --- a/protocols/CloudFile/src/events.cpp +++ b/protocols/CloudFile/src/events.cpp @@ -36,8 +36,6 @@ static int OnFileDialogCanceled(WPARAM hContact, LPARAM) int OnModulesLoaded(WPARAM, LPARAM) { - InitializeMenus(); - HookEvent(ME_PROTO_ACK, OnProtoAck); // srfile diff --git a/protocols/CloudFile/src/main.cpp b/protocols/CloudFile/src/main.cpp index 2b9ffd6c2d..cf43d16dcd 100644 --- a/protocols/CloudFile/src/main.cpp +++ b/protocols/CloudFile/src/main.cpp @@ -36,7 +36,7 @@ int CMPlugin::Load() HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); InitializeIcons(); + InitializeMenus(); InitializeServices(); - return 0; } |