diff options
Diffstat (limited to 'plugins/QuickMessages/src/main.cpp')
-rw-r--r-- | plugins/QuickMessages/src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/QuickMessages/src/main.cpp b/plugins/QuickMessages/src/main.cpp index 3e2b651217..c889776178 100644 --- a/plugins/QuickMessages/src/main.cpp +++ b/plugins/QuickMessages/src/main.cpp @@ -256,9 +256,10 @@ static int PluginInit(WPARAM, LPARAM) g_bStartup = 1;
HookEvent(ME_OPT_INITIALISE, OptionsInit);
HookEvent(ME_MSG_BUTTONPRESSED, CustomButtonPressed);
- HookEvent(ME_MSG_TOOLBARLOADED, RegisterCustomButton);
HookEvent(ME_MSG_WINDOWPOPUP, InputMenuPopup);
+ HookTemporaryEvent(ME_MSG_TOOLBARLOADED, RegisterCustomButton);
+
g_bRClickAuto = db_get_b(NULL, PLGNAME, "RClickAuto", 0);
g_bLClickAuto = db_get_b(NULL, PLGNAME, "LClickAuto", 0);
g_iButtonsCount = db_get_b(NULL, PLGNAME, "ButtonsCount", 0);
|