Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix refreshing mssql browser removes layers from collapsed schemas
  • Loading branch information
nyalldawson committed Feb 3, 2016
1 parent 0a64c16 commit e290280
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/mssql/qgsmssqldataitems.cpp
Expand Up @@ -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()
Expand Down

1 comment on commit e290280

@nyalldawson
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.