Skip to content

Commit

Permalink
Keep XYZ connections synchronized in browser(s) and data source manag…
Browse files Browse the repository at this point in the history
…er dialog
  • Loading branch information
elpaso committed Aug 31, 2017
1 parent 341947e commit 4810c73
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/providers/wms/qgswmsdataitems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,7 @@ void QgsXyzTileRootItem::newConnection()
return;

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

refresh();
refreshConnections();
}
#endif

Expand Down Expand Up @@ -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.