From bb0ad44266842e40a90d94be1b6bceb43e1549f2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Mar 2017 18:02:24 +0300 Subject: fix: StdMsg closes window after sending a message --- src/core/stdmsg/src/msgdialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); -- cgit v1.2.3