Skip to content

Commit

Permalink
fix #2020
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11837 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Oct 24, 2009
1 parent dd94281 commit c1864c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgswmssourceselect.cpp
Expand Up @@ -593,7 +593,7 @@ void QgsWMSSourceSelect::on_lstLayers_itemSelectionChanged()
btnChangeSpatialRefSys->setEnabled( FALSE );
}

m_selectedStyleIdForLayer = newSelectedStyleIdForLayer;
m_selectedStyleIdForLayer = newSelectedStyleIdForLayer;
updateLayerOrderTab( newSelectedLayers, newSelectedStylesForSelectedLayers );
}

Expand Down Expand Up @@ -997,7 +997,7 @@ void QgsWMSSourceSelect::updateLayerOrderTab( const QStringList& newLayerList, c
QTreeWidgetItem* newItem = new QTreeWidgetItem();
newItem->setText( 0, *layerListIt );
newItem->setText( 1, *styleListIt );
mLayerOrderTreeWidget->insertTopLevelItem( 0, newItem );
mLayerOrderTreeWidget->addTopLevelItem( newItem );
}

}
Expand Down

0 comments on commit c1864c6

Please sign in to comment.