[Kst] branches/work/kst/portto4/kst/src/libkstapp
Peter Kümmel
syntheticpp at gmx.net
Sun Sep 26 11:33:52 CEST 2010
SVN commit 1179849 by kuemmel:
fix crash:
1. data wizard: cerate several plotsForView
2. close tab
3. open data wizard -> crash: plot where not removed from plot manager
M +4 -0 view.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/view.cpp #1179848:1179849
@@ -103,6 +103,10 @@
View::~View() {
+ QList<PlotItem*> list = PlotItemManager::plotsForView(this);
+ foreach (PlotItem *plotItem, list) {
+ delete plotItem;
+ }
delete _undoStack;
delete _layoutBoxItem;
}
More information about the Kst
mailing list