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:
@@ -249,7 +249,7 @@ MailProtocolConfigView::AddAuthMethod(const char* label, bool needUserPassword)
|
|||||||
if (fAuthenticationField != NULL) {
|
if (fAuthenticationField != NULL) {
|
||||||
fAuthenticationField->Menu()->AddItem(new BMenuItem(label,
|
fAuthenticationField->Menu()->AddItem(new BMenuItem(label,
|
||||||
new BMessage(needUserPassword
|
new BMessage(needUserPassword
|
||||||
? kMsgLeaveOnServer : kMsgNoPassword)));
|
? kMsgNeedPassword : kMsgNoPassword)));
|
||||||
|
|
||||||
if (fAuthenticationField->Menu()->FindMarked() == NULL) {
|
if (fAuthenticationField->Menu()->FindMarked() == NULL) {
|
||||||
BMenuItem* item = fAuthenticationField->Menu()->ItemAt(0);
|
BMenuItem* item = fAuthenticationField->Menu()->ItemAt(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user