Skip to content
Permalink
Browse files

Fix refreshing mssql browser removes layers from collapsed schemas

  • Loading branch information
nyalldawson committed Feb 3, 2016
1 parent 0a64c16 commit e290280ca19f40ce22be79cbf2a80973c326c63d
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/providers/mssql/qgsmssqldataitems.cpp
@@ -479,6 +479,8 @@ QgsMssqlSchemaItem::QgsMssqlSchemaItem( QgsDataItem* parent, QString name, QStri
: QgsDataCollectionItem( parent, name, path )
{
mIconName = "mIconDbSchema.png";
//not fertile, since children are created by QgsMssqlConnectionItem
mCapabilities &= ~( Fertile );
}

QVector<QgsDataItem*> QgsMssqlSchemaItem::createChildren()

1 comment on commit e290280

@nyalldawson

This comment has been minimized.

Copy link
Collaborator Author

@nyalldawson nyalldawson commented on e290280 Feb 3, 2016

@jef-n looking at this it looks like the oracle provider shares a lot of similar code. I don't have an oracle instance to test with, but I suspect that a similar fix to this commit (and possibly 75fcd2d) should be implemented for the provider.

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