E-mail settings are now stored as they should.
* ProtocolSettingsView was still using Archive() instead of SaveInto(). * However, it looks like BMessage::Set*() does corrupt the message fields.
This commit is contained in:
parent
8651ebbe7a
commit
acee88be99
@ -158,13 +158,9 @@ ProtocolSettingsView::DetachedFromWindow()
|
||||
if (fSettingsView == NULL)
|
||||
return;
|
||||
|
||||
BMessage settings;
|
||||
if (fSettingsView->Archive(&settings) != B_OK)
|
||||
if (fSettingsView->SaveInto(fSettings) != B_OK)
|
||||
return;
|
||||
|
||||
fSettings.MakeEmpty();
|
||||
fSettings.Append(settings);
|
||||
|
||||
// We need to remove the settings view before unloading its add-on
|
||||
fSettingsView->RemoveSelf();
|
||||
delete fSettingsView;
|
||||
|
Loading…
Reference in New Issue
Block a user