summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdmsg/src/msgs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/msgs.cpp b/src/core/stdmsg/src/msgs.cpp
index 15d1800da0..bffa4588be 100644
--- a/src/core/stdmsg/src/msgs.cpp
+++ b/src/core/stdmsg/src/msgs.cpp
@@ -436,7 +436,8 @@ static int SplitmsgModulesLoaded(WPARAM, LPARAM)
hMsgMenuItem = Menu_AddContactMenuItem(&mi);
HookEvent(ME_FONT_RELOAD, FontsChanged);
- HookEvent(ME_MSG_TOOLBARLOADED, RegisterToolbarIcons);
+
+ HookTemporaryEvent(ME_MSG_TOOLBARLOADED, RegisterToolbarIcons);
RestoreUnreadMessageAlerts();
return 0;