summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-09-19 20:39:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-09-19 20:39:48 +0000
commit192a0a982155515379580384e7b713b7e133debc (patch)
tree7877d173330a9eaf0a61e6da19b84bd961ce65e9 /protocols/WhatsApp
parentbfce51cd6d257a00f26ec9331a5de9a8f276ea60 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@10533 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp')
-rw-r--r--protocols/WhatsApp/src/dialogs.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/dialogs.cpp b/protocols/WhatsApp/src/dialogs.cpp
index 9ac21dc690..6a1802ec22 100644
--- a/protocols/WhatsApp/src/dialogs.cpp
+++ b/protocols/WhatsApp/src/dialogs.cpp
@@ -64,7 +64,10 @@ INT_PTR CALLBACK WhatsAppAccountProc(HWND hwnd, UINT message, WPARAM wparam, LPA
MessageBox(NULL, TranslateT(szPasswordSet), PRODUCT_NAME, MB_ICONWARNING);
proto->setString(WHATSAPP_KEY_PASS, password.c_str());
}
- else EnableWindow(GetDlgItem(hwnd, IDC_PW), TRUE); // unblock sms code entry field
+ else {
+ EnableWindow(GetDlgItem(hwnd, IDC_PW), TRUE); // unblock sms code entry field
+ EnableWindow(GetDlgItem(hwnd, IDC_PW2), TRUE);
+ }
}
}
}