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@6003 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Oct 23, 2006
1 parent fdc5acf commit a9bf6f1
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 a9bf6f1

Please sign in to comment.