Tracker: Fix double delete
fWidgetList is a BObjectList, the items are deleted when removed already so we should not have the BObjectList delete them for us too. Instead, let's just turn that off so we can delete the items ourselves one time.
This commit is contained in:
@@ -75,7 +75,7 @@ BPose::BPose(Model* model, BPoseView* view, uint32 clipboardMode,
|
||||
bool selected)
|
||||
:
|
||||
fModel(model),
|
||||
fWidgetList(4, true),
|
||||
fWidgetList(4, false),
|
||||
fClipboardMode(clipboardMode),
|
||||
fPercent(-1),
|
||||
fSelectionTime(0),
|
||||
|
||||
Reference in New Issue
Block a user