Skip to content

Commit

Permalink
fix #2211
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12377 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 8, 2009
1 parent 25e35ec commit 1002f8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.cpp
Expand Up @@ -56,7 +56,7 @@ getWarpOptions( QgsImageWarper::ResamplingMethod& resampling,
}


void QgsGeorefWarpOptionsDialog::on_pbnOK_clicked()
void QgsGeorefWarpOptionsDialog::on_buttonBox_accepted()
{
QgsImageWarper::ResamplingMethod methods[] =
{
Expand All @@ -68,3 +68,8 @@ void QgsGeorefWarpOptionsDialog::on_pbnOK_clicked()
useZeroAsTransparency = cbxZeroAsTrans->isChecked();
close();
}

void QgsGeorefWarpOptionsDialog::on_buttonBox_rejected()
{
close();
}
3 changes: 2 additions & 1 deletion src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.h
Expand Up @@ -30,7 +30,8 @@ class QgsGeorefWarpOptionsDialog : public QDialog, private Ui::QgsGeorefWarpOpti

public slots:

void on_pbnOK_clicked();
void on_buttonBox_accepted();
void on_buttonBox_rejected();

private:

Expand Down

0 comments on commit 1002f8e

Please sign in to comment.