update combobox in BB-editor when renaming BB-track (closes #2056354)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1451 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -311,6 +311,9 @@ bbTrack::bbTrack( trackContainer * _tc ) :
|
||||
setName( tr( "Beat/Bassline %1" ).arg( bbNum ) );
|
||||
engine::getBBTrackContainer()->setCurrentBB( bbNum );
|
||||
engine::getBBTrackContainer()->updateComboBox();
|
||||
|
||||
connect( this, SIGNAL( nameChanged() ),
|
||||
engine::getBBTrackContainer(), SLOT( updateComboBox() ) );
|
||||
}
|
||||
|
||||
|
||||
@@ -530,8 +533,6 @@ bbTrackView::bbTrackView( bbTrack * _bbt, trackContainerView * _tcv ) :
|
||||
m_trackLabel->show();
|
||||
connect( m_trackLabel, SIGNAL( clicked( bool ) ),
|
||||
this, SLOT( clickedTrackLabel() ) );
|
||||
connect( m_trackLabel, SIGNAL( nameChanged() ),
|
||||
engine::getBBTrackContainer(), SLOT( updateComboBox() ) );
|
||||
connect( m_trackLabel, SIGNAL( pixmapChanged() ),
|
||||
engine::getBBTrackContainer(), SLOT( updateComboBox() ) );
|
||||
setModel( _bbt );
|
||||
|
||||
Reference in New Issue
Block a user