summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp
diff options
context:
space:
mode:
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);
+ }
}
}
}