made dataChanged()->update() connection queued
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@750 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -49,9 +49,9 @@ void modelView::setModel( model * _model, bool _old_model_valid )
|
||||
}
|
||||
m_model = _model;
|
||||
QObject::connect( _model, SIGNAL( dataChanged() ),
|
||||
w, SLOT( update() ) );
|
||||
w, SLOT( update() ), Qt::QueuedConnection );
|
||||
QObject::connect( _model, SIGNAL( propertiesChanged() ),
|
||||
w, SLOT( update() ) );
|
||||
w, SLOT( update() ), Qt::QueuedConnection );
|
||||
|
||||
w->update();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user