Skip to content
Permalink
Browse files

Keep XYZ connections synchronized in browser(s) and data source manag…

…er dialog
  • Loading branch information
elpaso committed Aug 31, 2017
1 parent 341947e commit 4810c73e4d2cf8b4f42ca9d7ae4b76b1658519f3
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/providers/wms/qgswmsdataitems.cpp
@@ -496,8 +496,7 @@ void QgsXyzTileRootItem::newConnection()
return;

QgsXyzConnectionUtils::addConnection( dlg.connection() );

refresh();
refreshConnections();
}
#endif

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

mParent->refresh();
mParent->refreshConnections();
}

void QgsXyzLayerItem::deleteConnection()
{
QgsXyzConnectionUtils::deleteConnection( mName );

mParent->refresh();
mParent->refreshConnections();
}
#endif

0 comments on commit 4810c73

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