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/qgis@6003 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Oct 23, 2006
1 parent 56d9502 commit 878b7bfc11952f7771533d25f21c69b2bbe53c75
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 878b7bf

Please sign in to comment.