diff --git a/ChangeLog b/ChangeLog index 352fe582f..64bd9c502 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2008-01-04 Tobias Doerffel + + * 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 * plugins/stk/mallets/mallets.h: diff --git a/src/core/bb_editor.cpp b/src/core/bb_editor.cpp index 9db7425f3..3075cee8c 100644 --- a/src/core/bb_editor.cpp +++ b/src/core/bb_editor.cpp @@ -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 );