From 8a712adf1f95f613a1b1fdca761bcda6f9973b78 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 5 Mar 2014 19:43:48 +0000 Subject: minor fixes for mc dialogs git-svn-id: http://svn.miranda-ng.org/main/trunk@8420 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/metacontacts/meta_addto.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules/metacontacts/meta_addto.cpp') 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 -- cgit v1.2.3