diff options
Diffstat (limited to 'plugins/TabSRMM/src/modplus.cpp')
-rw-r--r-- | plugins/TabSRMM/src/modplus.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/modplus.cpp b/plugins/TabSRMM/src/modplus.cpp index 05d1edd95f..3bde72a450 100644 --- a/plugins/TabSRMM/src/modplus.cpp +++ b/plugins/TabSRMM/src/modplus.cpp @@ -137,6 +137,7 @@ static int CustomButtonPressed(WPARAM wParam, LPARAM lParam) int ModPlus_Init()
{
HookEvent(ME_MSG_BUTTONPRESSED, CustomButtonPressed);
- HookEvent(ME_MSG_TOOLBARLOADED, RegisterCustomButton);
+
+ HookTemporaryEvent(ME_MSG_TOOLBARLOADED, RegisterCustomButton);
return 0;
}
|