diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-14 18:19:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-14 18:19:39 +0300 |
commit | c7c2bb6fe1e94010b922eb2dff8bf6a763aa16bb (patch) | |
tree | 0876492183d4411850696f6b4281339297c1df69 /src/core/stdmsg | |
parent | ddc34e553c6802d07817146e48b0744d4e57a550 (diff) |
fixes #1358 (StdMsg: "Send on Ctrl+Enter" setting is lost after upgrade)
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r-- | src/core/stdmsg/src/globals.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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);
|