Skip to content

Commit 0f5ae19

Browse files
author
jef
committed
fix #2211
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12377 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 38d0e39 commit 0f5ae19

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ getWarpOptions( QgsImageWarper::ResamplingMethod& resampling,
5656
}
5757

5858

59-
void QgsGeorefWarpOptionsDialog::on_pbnOK_clicked()
59+
void QgsGeorefWarpOptionsDialog::on_buttonBox_accepted()
6060
{
6161
QgsImageWarper::ResamplingMethod methods[] =
6262
{
@@ -68,3 +68,8 @@ void QgsGeorefWarpOptionsDialog::on_pbnOK_clicked()
6868
useZeroAsTransparency = cbxZeroAsTrans->isChecked();
6969
close();
7070
}
71+
72+
void QgsGeorefWarpOptionsDialog::on_buttonBox_rejected()
73+
{
74+
close();
75+
}

src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ class QgsGeorefWarpOptionsDialog : public QDialog, private Ui::QgsGeorefWarpOpti
3030

3131
public slots:
3232

33-
void on_pbnOK_clicked();
33+
void on_buttonBox_accepted();
34+
void on_buttonBox_rejected();
3435

3536
private:
3637

0 commit comments

Comments
 (0)