From 4718126325915c3a6061f0d7334c4da4b2c111b0 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 25 Apr 2013 08:36:56 +0000 Subject: fixed apply button activation git-svn-id: http://svn.miranda-ng.org/main/trunk@4529 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_dialogs.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'protocols/Skype/src/skype_dialogs.cpp') diff --git a/protocols/Skype/src/skype_dialogs.cpp b/protocols/Skype/src/skype_dialogs.cpp index 584bdf91d2..cf8f640541 100644 --- a/protocols/Skype/src/skype_dialogs.cpp +++ b/protocols/Skype/src/skype_dialogs.cpp @@ -96,11 +96,18 @@ INT_PTR CALLBACK CSkypeProto::SkypeMainOptionsProc(HWND hwnd, UINT message, WPAR { if ((HIWORD(wParam) != EN_CHANGE || (HWND)lParam != GetFocus())) return 0; - else - SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0); + SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0); } + break; case IDC_PORT: + { + if ((HIWORD(wParam) != EN_CHANGE || (HWND)lParam != GetFocus())) + return 0; + SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0); + } + break; + case IDC_USE_ALT_PORTS: SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0); break; @@ -128,6 +135,7 @@ INT_PTR CALLBACK CSkypeProto::SkypeMainOptionsProc(HWND hwnd, UINT message, WPAR proto->ShowNotification(CSkypeProto::ValidationReasons[reason]); } } + return FALSE; case IDC_CHANGE_PWD: { -- cgit v1.2.3