Fixed debugger call in E-mail.

* The settings view is no longer a direct child of the protocol settings
  view.
This commit is contained in:
Axel Dörfler 2012-11-21 00:43:01 +01:00
parent ca3341c7b4
commit efd1602a79

View File

@ -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);