diff options
-rw-r--r-- | protocols/WhatsApp/src/dialogs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/dialogs.cpp b/protocols/WhatsApp/src/dialogs.cpp index ab5c37fa30..ca55809538 100644 --- a/protocols/WhatsApp/src/dialogs.cpp +++ b/protocols/WhatsApp/src/dialogs.cpp @@ -93,7 +93,8 @@ public: INT_PTR WhatsAppProto::SvcCreateAccMgrUI(WPARAM wParam, LPARAM lParam)
{
COptionsDlg *pDlg = new COptionsDlg(this, IDD_ACCMGRUI);
- pDlg->Create();
+ pDlg->SetParent((HWND)lParam);
+ pDlg->Show();
return (INT_PTR)pDlg->GetHwnd();
}
|