summaryrefslogtreecommitdiff
path: root/src/modules/metacontacts/meta_addto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-05 19:43:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-05 19:43:48 +0000
commit8a712adf1f95f613a1b1fdca761bcda6f9973b78 (patch)
treeaa521c73061a5af4cfd5d09c1b4ee9241b04ad89 /src/modules/metacontacts/meta_addto.cpp
parent630fb7d1cee2f0f0eb4ed2bbb21ff771a5b92fa6 (diff)
minor fixes for mc dialogs
git-svn-id: http://svn.miranda-ng.org/main/trunk@8420 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_addto.cpp')
-rw-r--r--src/modules/metacontacts/meta_addto.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/metacontacts/meta_addto.cpp b/src/modules/metacontacts/meta_addto.cpp
index 4c79f3f268..d411c32aff 100644
--- a/src/modules/metacontacts/meta_addto.cpp
+++ b/src/modules/metacontacts/meta_addto.cpp
@@ -161,6 +161,9 @@ static INT_PTR CALLBACK Meta_SelectDialogProc(HWND hwndDlg, UINT msg, WPARAM wPa
return TRUE;
case WM_COMMAND:
+ if (HIWORD(wParam) == LBN_DBLCLK) // emulate click ok Ok
+ wParam = MAKEWPARAM(IDOK, BN_CLICKED);
+
if (HIWORD(wParam) != BN_CLICKED)
break; // Only clicks of buttons are relevant, let other COMMANDs through