summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-26 18:02:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-26 18:02:24 +0300
commitbb0ad44266842e40a90d94be1b6bceb43e1549f2 (patch)
treef90928dba5f0e0187720ef471e9fe2c568ff296e /src/core
parent855ca62463d7cfc011228da38fadcd3c2b70fe8b (diff)
fix: StdMsg closes window after sending a message
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp
index 0d23aeb323..7e2fb62a34 100644
--- a/src/core/stdmsg/src/msgdialog.cpp
+++ b/src/core/stdmsg/src/msgdialog.cpp
@@ -123,6 +123,7 @@ CSrmmWindow::CSrmmWindow(MCONTACT hContact, bool noActivate, const char *szIniti
m_bNoActivate(noActivate)
{
m_hContact = hContact;
+ m_autoClose = CLOSE_ON_CANCEL;
m_btnOk.OnClick = Callback(this, &CSrmmWindow::onClick_Ok);