mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
Always expand out browser favorites node on startup
It's the user-set favorites, so they should be accessible as quickly as possible!
This commit is contained in:
parent
9f5e33af72
commit
502c18a338
@ -107,12 +107,10 @@ void QgsBrowserTreeView::restoreState()
|
||||
expandTree( expandIndex );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// expand root favorites item
|
||||
QModelIndex index = QgsBrowserModel::findPath( model(), QStringLiteral( "favorites:" ) );
|
||||
expand( index );
|
||||
}
|
||||
|
||||
// expand root favorites item
|
||||
QModelIndex index = QgsBrowserModel::findPath( model(), QStringLiteral( "favorites:" ) );
|
||||
expand( index );
|
||||
}
|
||||
|
||||
void QgsBrowserTreeView::expandTree( const QModelIndex &index )
|
||||
|
Loading…
x
Reference in New Issue
Block a user