From efd1602a79101b5734e88ac43a752b7732a56979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 21 Nov 2012 00:43:01 +0100 Subject: [PATCH] Fixed debugger call in E-mail. * The settings view is no longer a direct child of the protocol settings view. --- src/preferences/mail/ConfigViews.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/preferences/mail/ConfigViews.cpp b/src/preferences/mail/ConfigViews.cpp index 618265efa8..5df3f1ff3d 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);