Skip to content

Commit 866694f

Browse files
author
g_j_m
committed
Fix for ticket #245 (georeferencer cancel button doesn't work)
git-svn-id: http://svn.osgeo.org/qgis/trunk@5727 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent a1b9be0 commit 866694f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/plugins/georeferencer/mapcoordsdialog.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,8 @@ void MapCoordsDialog::on_buttonOk_clicked() {
2929
emit pointAdded(mPixelCoords, mapCoords);
3030
accept();
3131
}
32+
33+
void MapCoordsDialog::on_buttonCancel_clicked()
34+
{
35+
reject();
36+
}

src/plugins/georeferencer/mapcoordsdialog.h

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Q_OBJECT
2828
public slots:
2929

3030
void on_buttonOk_clicked();
31+
void on_buttonCancel_clicked();
3132

3233
private:
3334

0 commit comments

Comments
 (0)