added 1 changeset to branch 'refs/remotes/axeld-github/imap' old head: eddafe9791af2d9637eaa39cf73b77ff015adea5 new head: 076dba5626c865673f36b5ebd4dc134c108234b1 overview: https://github.com/axeld/haiku/compare/eddafe9...076dba5 ---------------------------------------------------------------------------- 076dba5: Fixed debugger call in E-mail. * The settings view is no longer a direct child of the protocol settings view. [ Axel DÃrfler <axeld@xxxxxxxxxxxxxxxx> ] ---------------------------------------------------------------------------- Commit: 076dba5626c865673f36b5ebd4dc134c108234b1 Author: Axel DÃrfler <axeld@xxxxxxxxxxxxxxxx> Date: Tue Nov 20 23:43:01 2012 UTC ---------------------------------------------------------------------------- 1 file changed, 2 insertions(+), 1 deletion(-) src/preferences/mail/ConfigViews.cpp | 3 ++- ---------------------------------------------------------------------------- diff --git a/src/preferences/mail/ConfigViews.cpp b/src/preferences/mail/ConfigViews.cpp index 618265e..5df3f1f 100644 --- a/src/preferences/mail/ConfigViews.cpp +++ b/src/preferences/mail/ConfigViews.cpp @@ -164,7 +164,8 @@ ProtocolSettingsView::DetachedFromWindow() fSettings.MakeEmpty(); fSettings.Append(settings); - RemoveChild(fSettingsView); + // We need to remove the settings view before unloading its add-on + fSettingsView->RemoveSelf(); delete fSettingsView; fSettingsView = NULL; unload_add_on(fImage);