summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-13 22:39:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-13 22:39:07 +0000
commitc2fa679c885cf49bed863220087bb33a0f8f5d7d (patch)
tree2382e197fc01fe2926ecf5f954f7c587b0e16279 /protocols
parent8b12e667cc9e03da710c4174242ac2d3fecae2f8 (diff)
fix for WhatsApp account manager window
git-svn-id: http://svn.miranda-ng.org/main/trunk@12799 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/WhatsApp/src/dialogs.cpp3
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();
}