Skip to content

Commit 4810c73

Browse files
committedAug 31, 2017
Keep XYZ connections synchronized in browser(s) and data source manager dialog
1 parent 341947e commit 4810c73

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
 

‎src/providers/wms/qgswmsdataitems.cpp‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,7 @@ void QgsXyzTileRootItem::newConnection()
496496
return;
497497

498498
QgsXyzConnectionUtils::addConnection( dlg.connection() );
499-
500-
refresh();
499+
refreshConnections();
501500
}
502501
#endif
503502

@@ -537,13 +536,13 @@ void QgsXyzLayerItem::editConnection()
537536
QgsXyzConnectionUtils::deleteConnection( mName );
538537
QgsXyzConnectionUtils::addConnection( dlg.connection() );
539538

540-
mParent->refresh();
539+
mParent->refreshConnections();
541540
}
542541

543542
void QgsXyzLayerItem::deleteConnection()
544543
{
545544
QgsXyzConnectionUtils::deleteConnection( mName );
546545

547-
mParent->refresh();
546+
mParent->refreshConnections();
548547
}
549548
#endif

0 commit comments

Comments
 (0)
Please sign in to comment.