We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 420dc82 commit 704ac54Copy full SHA for 704ac54
src/core/qgsdataitem.cpp
@@ -345,8 +345,16 @@ void QgsDataItem::refresh()
345
346
void QgsDataItem::refreshConnections()
347
{
348
- refresh();
349
- emit connectionsChanged();
+ // Walk up until the root node is reached
+ if ( mParent )
350
+ {
351
+ mParent->refreshConnections();
352
+ }
353
+ else
354
355
+ refresh();
356
+ emit connectionsChanged();
357
358
}
359
360
void QgsDataItem::refresh( const QVector<QgsDataItem *> &children )
0 commit comments