Skip to content
Permalink
Browse files

Merge pull request #737 from Oslandia/issue7856

Refs #7856. Fix model reference
  • Loading branch information
jef-n committed Jul 15, 2013
2 parents edf32f9 + 71c9c36 commit c77a48afa09ebead8a9d163432c514b1186fdf17
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 c77a48a

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