fix missing pattern in new projects by also tracking dataUnchanged()-signals of bbComboBoxModel

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@645 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-01-04 23:29:57 +00:00
parent aaa410a70c
commit 00d2d4a5d3
2 changed files with 15 additions and 0 deletions

View File

@@ -107,6 +107,10 @@ bbEditor::bbEditor( void ) :
m_bbComboBox->setModel( m_bbComboBoxModel );
connect( m_bbComboBoxModel, SIGNAL( dataChanged() ),
this, SLOT( currentBBChanged() ) );
// we *always* want to receive updates even in case BB actually did
// not change upon setCurrentBB()-call
connect( m_bbComboBoxModel, SIGNAL( dataUnchanged() ),
this, SLOT( currentBBChanged() ) );
tb_layout->addSpacing( 5 );
tb_layout->addWidget( m_playButton );