[QGIS Commit] r12167 - trunk/qgis/src/plugins/georeferencer
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Tue Nov 17 18:30:16 EST 2009
Author: jef
Date: 2009-11-17 18:30:16 -0500 (Tue, 17 Nov 2009)
New Revision: 12167
Modified:
trunk/qgis/src/plugins/georeferencer/mapcoordsdialog.cpp
Log:
fix georeferencer buttons
Modified: trunk/qgis/src/plugins/georeferencer/mapcoordsdialog.cpp
===================================================================
--- trunk/qgis/src/plugins/georeferencer/mapcoordsdialog.cpp 2009-11-17 22:12:33 UTC (rev 12166)
+++ trunk/qgis/src/plugins/georeferencer/mapcoordsdialog.cpp 2009-11-17 23:30:16 UTC (rev 12167)
@@ -33,6 +33,10 @@
: QDialog( parent, fl )
{
setupUi( this );
+
+ connect( buttonBox, SIGNAL( accepted() ), this, SLOT( accept() ) );
+ connect( buttonBox, SIGNAL( rejected() ), this, SLOT( reject() ) );
+
mPixelCoords = pixelCoords;
mQgisCanvas = qgisCanvas;
leXCoord->setValidator( new QDoubleValidator( this ) );
@@ -65,6 +69,7 @@
{
QgsPoint mapCoords( leXCoord->text().toDouble(), leYCoord->text().toDouble() );
emit pointAdded( mPixelCoords, mapCoords );
+ QDialog::accept();
}
void MapCoordsDialog::maybeSetXY( const QgsPoint & xy, Qt::MouseButton button )
More information about the QGIS-commit
mailing list