Fix uninitialized m_focus_on_cancel

This commit is contained in:
Benau 2021-06-02 10:07:34 +08:00
parent 6c2c5131b0
commit e347c72f12

View File

@ -65,6 +65,7 @@ MessageDialog::MessageDialog(const irr::core::stringw &msg, bool from_queue)
m_type = MessageDialog::MESSAGE_DIALOG_OK;
m_listener = NULL;
m_own_listener = false;
m_focus_on_cancel = false;
if (!from_queue) doInit(false);
} // MessageDialog(stringw)