do not crash when removing TCOs
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@971 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -268,7 +268,7 @@ bool trackContentObjectView::close( void )
|
||||
void trackContentObjectView::remove( void )
|
||||
{
|
||||
// delete ourself
|
||||
m_trackView->getTrackContentWidget()->removeTCOView( this );
|
||||
close();
|
||||
m_tco->deleteLater();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user