summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);