diff options
Diffstat (limited to 'protocols/WhatsApp/src/qrcode.cpp')
-rw-r--r-- | protocols/WhatsApp/src/qrcode.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/qrcode.cpp b/protocols/WhatsApp/src/qrcode.cpp index a7973f6639..18edfc3e91 100644 --- a/protocols/WhatsApp/src/qrcode.cpp +++ b/protocols/WhatsApp/src/qrcode.cpp @@ -116,8 +116,10 @@ static INT_PTR __stdcall sttShowDialog(void *param) void WhatsAppProto::CloseQrDialog() { - if (m_pQRDlg) + if (m_pQRDlg) { + m_pQRDlg->SetSuccess(); m_pQRDlg->Close(); + } } bool WhatsAppProto::ShowQrCode(const CMStringA &ref) |