From c7c2bb6fe1e94010b922eb2dff8bf6a763aa16bb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 14 May 2018 18:19:39 +0300 Subject: fixes #1358 (StdMsg: "Send on Ctrl+Enter" setting is lost after upgrade) --- src/core/stdmsg/src/globals.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/stdmsg') diff --git a/src/core/stdmsg/src/globals.cpp b/src/core/stdmsg/src/globals.cpp index 353bd8bf17..4a3632a363 100644 --- a/src/core/stdmsg/src/globals.cpp +++ b/src/core/stdmsg/src/globals.cpp @@ -153,6 +153,9 @@ void InitGlobals() db_unset(0, SRMMMOD, "HideNames"); } + if (!g_dat.bSendOnEnter && !g_dat.bSendOnDblEnter) + g_dat.bSendOnCtrlEnter = true; + HookEvent(ME_DB_EVENT_ADDED, dbaddedevent); HookEvent(ME_PROTO_ACK, ackevent); HookEvent(ME_SKIN2_ICONSCHANGED, IconsChanged); -- cgit v1.2.3