fix2340.diff

Patch for fixing this issue - Alexander Bruy, 2010-01-03 04:03 AM

Download (788 Bytes)

View differences:

qgis/src/app/qgswmssourceselect.cpp (working copy)
203 203
  if ( result == QMessageBox::Ok )
204 204
  {
205 205
    settings.remove( key );
206
    settings.remove( "/Qgis/WMS/" + cmbConnections->currentText() );
206 207
    cmbConnections->removeItem( cmbConnections->currentIndex() );  // populateConnectionList();
207 208
    setConnectionListPosition();
208 209
  }
209 210
}
210 211
 QgsNumericSortTreeWidgetItem *QgsWMSSourceSelect::createItem(
211 212
  int id, const QStringList &names, QMap<int, QgsNumericSortTreeWidgetItem *> &items, int &layerAndStyleCount,
212 213
  const QMap<int, int> &layerParents, const QMap<int, QStringList> &layerParentNames )