Skip to content

Commit 878b7bf

Browse files
author
g_j_m
committedOct 23, 2006
Make sure that the start of the spatial reference system text is visible 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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/gui/qgsvectorlayerproperties.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(QgsVectorLayer * lyr,
7777
if ( layer->coordinateTransform() )
7878
{
7979
leSpatialRefSys->setText(layer->coordinateTransform()->sourceSRS().proj4String());
80+
leSpatialRefSys->setCursorPosition(0);
8081
}
8182
connect(sliderTransparency, SIGNAL(valueChanged(int)), this, SLOT(sliderTransparency_valueChanged(int)));
8283

@@ -597,4 +598,5 @@ void QgsVectorLayerProperties::on_pbnChangeSpatialRefSys_clicked()
597598
}
598599
delete mySelector;
599600
leSpatialRefSys->setText(layer->coordinateTransform()->sourceSRS().proj4String());
601+
leSpatialRefSys->setCursorPosition(0);
600602
}

0 commit comments

Comments
 (0)
Please sign in to comment.