Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[mssql] Fix never ending schema refreshing icon in browser
  • Loading branch information
nyalldawson committed Oct 2, 2018
1 parent b748ac6 commit f4216be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/providers/mssql/qgsmssqldataitems.cpp
Expand Up @@ -257,7 +257,11 @@ QVector<QgsDataItem *> QgsMssqlConnectionItem::createChildren()
}
else
{
//set all as populated
//set all as populated -- we also need to do this for newly created items, because they won't yet be children of this item
for ( QgsDataItem *child : qgis::as_const( children ) )
{
child->setState( Populated );
}
setAsPopulated();
}
}
Expand Down

0 comments on commit f4216be

Please sign in to comment.