Skip to content
Permalink
Browse files
Make sure that the start of the spatial reference system text is visi…
…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 a9bf6f1801298c63de91d1435319bcbd318a8ac6
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/qgsvectorlayerproperties.cpp
@@ -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)));

@@ -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.