From da194b70efca6dc831d7be3c8a4bb9ca1657d62f Mon Sep 17 00:00:00 2001 From: timlinux Date: Mon, 13 Sep 2010 07:24:35 +0000 Subject: [PATCH] Improved interaction with extents widget in statusbar so that the text contents of the widget can be copied and pasted git-svn-id: http://svn.osgeo.org/qgis/trunk@14222 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/app/qgisapp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index 08eae5890a1..18c640b0ddf 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.cpp @@ -5694,7 +5694,7 @@ void QgisApp::extentsViewToggled( bool theFlag ) //extents view mode! mToggleExtentsViewButton->setIcon( getThemeIcon( "extents.png" ) ); mCoordsEdit->setToolTip( tr( "Map coordinates for the current view extents" ) ); - mCoordsEdit->setEnabled( false ); + mCoordsEdit->setReadOnly( true ); showExtents(); } else @@ -5702,7 +5702,7 @@ void QgisApp::extentsViewToggled( bool theFlag ) //mouse cursor pos view mode! mToggleExtentsViewButton->setIcon( getThemeIcon( "tracking.png" ) ); mCoordsEdit->setToolTip( tr( "Map coordinates at mouse cursor position" ) ); - mCoordsEdit->setEnabled( true ); + mCoordsEdit->setReadOnly( false ); mCoordsLabel->setText( tr( "Coordinate:" ) ); } }