Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsbrowserdockwidget.cpp
2 changes: 1 addition & 1 deletion src/app/qgsbrowserdockwidget.cpp
Original file line number Diff line number Diff line change
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