mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Revert data provider key on items (still waiting for Peter answer)
This commit is contained in:
parent
98496a2952
commit
9cb34b6c4b
@ -777,7 +777,7 @@ QgsDataItem *QgsBrowserModel::addProviderRootItem( QgsDataItemProvider *pr )
|
||||
if ( item )
|
||||
{
|
||||
// make sure the top level key is set always
|
||||
item->setProviderKey( pr->dataProviderKey() );
|
||||
item->setProviderKey( pr->name() );
|
||||
// Forward the signal from the root items to the model (and then to the app)
|
||||
connect( item, &QgsDataItem::connectionsChanged, this, &QgsBrowserModel::onConnectionsChanged );
|
||||
QgsDebugMsgLevel( "Add new top level item : " + item->name(), 4 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user