Skip to content

Commit

Permalink
Make sure that the start of the spatial reference system text is visi…
Browse files Browse the repository at this point in the history
…ble in

the line edit widget (rather than the end of it, as happen if the text is
longer than the available space).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6003 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Oct 23, 2006
1 parent 56d9502 commit 878b7bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgsvectorlayerproperties.cpp
Expand Up @@ -77,6 +77,7 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(QgsVectorLayer * lyr,
if ( layer->coordinateTransform() )
{
leSpatialRefSys->setText(layer->coordinateTransform()->sourceSRS().proj4String());
leSpatialRefSys->setCursorPosition(0);
}
connect(sliderTransparency, SIGNAL(valueChanged(int)), this, SLOT(sliderTransparency_valueChanged(int)));

Expand Down Expand Up @@ -597,4 +598,5 @@ void QgsVectorLayerProperties::on_pbnChangeSpatialRefSys_clicked()
}
delete mySelector;
leSpatialRefSys->setText(layer->coordinateTransform()->sourceSRS().proj4String());
leSpatialRefSys->setCursorPosition(0);
}

0 comments on commit 878b7bf

Please sign in to comment.