PreferencesPanel bug


in PreferencesPanel::showInDialogBox() there’s a dw.setContentComponent(NULL, false, false) missing after dw.runModalLoop()

Right now, if you do something like

PreferencesPanel panel; panel.showInDialogBox();

when the PrefDialogWindow goes out of scope it also deletes its content (i.e. panel) and when panel goes out of scope, it has already been deleted…

Yes… that does seem to be missing. Thanks for the tip-off!