diff --git a/src/preferences/mail/ConfigViews.cpp b/src/preferences/mail/ConfigViews.cpp index 10d3223422..7695af938e 100644 --- a/src/preferences/mail/ConfigViews.cpp +++ b/src/preferences/mail/ConfigViews.cpp @@ -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;