Skip to content
Permalink
Browse files

fix georeferencer buttons

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12167 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 17, 2009
1 parent f8bb3bf commit d52f5fa9109c2c3854bc902d8fd159d874bf746b
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/plugins/georeferencer/mapcoordsdialog.cpp
@@ -33,6 +33,10 @@ MapCoordsDialog::MapCoordsDialog( const QgsPoint& pixelCoords, QgsMapCanvas* qgi
: 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 @@ void MapCoordsDialog::accept()
{
QgsPoint mapCoords( leXCoord->text().toDouble(), leYCoord->text().toDouble() );
emit pointAdded( mPixelCoords, mapCoords );
QDialog::accept();
}

void MapCoordsDialog::maybeSetXY( const QgsPoint & xy, Qt::MouseButton button )

0 comments on commit d52f5fa

Please sign in to comment.