Mail Preferences: use correct message constant
Would crash the SMTP add-on as the message sent would end up trying to toggle a non-existing checkbox.
This commit is contained in:
parent
1736cb1d59
commit
6394d0e838
@ -249,7 +249,7 @@ MailProtocolConfigView::AddAuthMethod(const char* label, bool needUserPassword)
|
||||
if (fAuthenticationField != NULL) {
|
||||
fAuthenticationField->Menu()->AddItem(new BMenuItem(label,
|
||||
new BMessage(needUserPassword
|
||||
? kMsgLeaveOnServer : kMsgNoPassword)));
|
||||
? kMsgNeedPassword : kMsgNoPassword)));
|
||||
|
||||
if (fAuthenticationField->Menu()->FindMarked() == NULL) {
|
||||
BMenuItem* item = fAuthenticationField->Menu()->ItemAt(0);
|
||||
|
Loading…
Reference in New Issue
Block a user