Skip to content

Commit c77a48a

Browse files
committedJul 15, 2013
Merge pull request #737 from Oslandia/issue7856
Refs #7856. Fix model reference
2 parents edf32f9 + 71c9c36 commit c77a48a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgsbrowserdockwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ void QgsBrowserDockWidget::refreshModel( const QModelIndex& index )
415415
{
416416
QModelIndex idx = mModel->index( i, 0, index );
417417
QModelIndex proxyIdx = mProxyModel->mapFromSource( idx );
418-
if ( mBrowserView->isExpanded( proxyIdx ) || !mModel->hasChildren( proxyIdx ) )
418+
if ( mBrowserView->isExpanded( proxyIdx ) || !mProxyModel->hasChildren( proxyIdx ) )
419419
{
420420
refreshModel( idx );
421421
}

0 commit comments

Comments
 (0)
Please sign in to comment.