[QGIS Commit] r14222 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Sep 13 03:24:35 EDT 2010
Author: timlinux
Date: 2010-09-13 07:24:35 +0000 (Mon, 13 Sep 2010)
New Revision: 14222
Modified:
trunk/qgis/src/app/qgisapp.cpp
Log:
Improved interaction with extents widget in statusbar so that the text contents of the widget can be copied and pasted
Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp 2010-09-12 14:06:21 UTC (rev 14221)
+++ trunk/qgis/src/app/qgisapp.cpp 2010-09-13 07:24:35 UTC (rev 14222)
@@ -5694,7 +5694,7 @@
//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 @@
//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:" ) );
}
}
More information about the QGIS-commit
mailing list