Skip to content

Commit

Permalink
Refs #7856. Fix model reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Mercier committed Jul 15, 2013
1 parent 45d9db7 commit 71c9c36
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 71c9c36

Please sign in to comment.