Skip to content

Commit

Permalink
Merge pull request #737 from Oslandia/issue7856
Browse files Browse the repository at this point in the history
Refs #7856. Fix model reference
  • Loading branch information
jef-n committed Jul 15, 2013
2 parents edf32f9 + 71c9c36 commit c77a48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsbrowserdockwidget.cpp
Expand Up @@ -415,7 +415,7 @@ void QgsBrowserDockWidget::refreshModel( const QModelIndex& index )
{
QModelIndex idx = mModel->index( i, 0, index );
QModelIndex proxyIdx = mProxyModel->mapFromSource( idx );
if ( mBrowserView->isExpanded( proxyIdx ) || !mModel->hasChildren( proxyIdx ) )
if ( mBrowserView->isExpanded( proxyIdx ) || !mProxyModel->hasChildren( proxyIdx ) )
{
refreshModel( idx );
}
Expand Down

0 comments on commit c77a48a

Please sign in to comment.