summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat_main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-03-26 15:41:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-03-26 15:41:27 +0300
commit90c87cac6ad51642d1dd9d9a2400450e667e1da7 (patch)
tree4cd32bab4504fdc183090bc4d4e5433735a61fe2 /plugins/TabSRMM/src/chat_main.cpp
parent5a0b6ba945cbbf543a5b8c6169fc3b2ee03e740f (diff)
fixes #3057 (Унифицировать настройку горячих клавиш для отправки сообщений)
Diffstat (limited to 'plugins/TabSRMM/src/chat_main.cpp')
-rw-r--r--plugins/TabSRMM/src/chat_main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/chat_main.cpp b/plugins/TabSRMM/src/chat_main.cpp
index 00c4806289..5150712a36 100644
--- a/plugins/TabSRMM/src/chat_main.cpp
+++ b/plugins/TabSRMM/src/chat_main.cpp
@@ -371,6 +371,8 @@ int Chat_Load()
g_chatApi.ShowRoom = stubShowRoom;
g_chatApi.OnLoadSettings = OnLoadSettings;
+ Srmm_CreateHotkey(TABSRMM_HK_SECTION_GENERIC, LPGEN("Send Message"));
+
// this operation is unsafe, that's why we restore the old pci state on exit
g_chatApi.DoSoundsFlashPopupTrayStuff = DoSoundsFlashPopupTrayStuff;
g_chatApi.IsHighlighted = IsHighlighted;