Skip to content
Permalink
Browse files

Refs #7856. Fix model reference

  • Loading branch information
Hugo Mercier
Hugo Mercier committed Jul 15, 2013
1 parent 45d9db7 commit 71c9c36a1736ed0bd5693da794f27e0de2c5752a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsbrowserdockwidget.cpp
@@ -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 );
}

0 comments on commit 71c9c36

Please sign in to comment.
You can’t perform that action at this time.