- update bb editor combo box when removed

- moving track is the active one


git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@222 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Javier Serrano Polo
2006-07-10 00:43:17 +00:00
parent 1c71bab920
commit 97eec18bf5

View File

@@ -355,6 +355,7 @@ bbTrack::~bbTrack()
#endif
}
s_infoMap.remove( this );
eng()->getBBEditor()->updateComboBox();
}
@@ -522,7 +523,7 @@ void bbTrack::swapBBTracks( track * _track1, track * _track2 )
qSwap( s_infoMap[t1], s_infoMap[t2] );
_track1->eng()->getBBEditor()->swapBB( s_infoMap[t1],
s_infoMap[t2] );
_track1->eng()->getBBEditor()->setCurrentBB( s_infoMap[t2] );
_track1->eng()->getBBEditor()->setCurrentBB( s_infoMap[t1] );
}
}