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

@@ -1,3 +1,14 @@
2008-01-04 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* src/core/bb_editor.cpp:
fix missing pattern in new projects by also tracking
dataUnchanged()-signals of bbComboBoxModel
* include/automatable_model_templates.h:
* include/mv_base.h:
added dataUnchanged()-signal which should be emitted in case new data
was not set for the model because it's been equal to old data
2008-01-04 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* plugins/stk/mallets/mallets.h:

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 );