[QGIS Commit] r14493 - trunk/qgis/src/plugins/georeferencer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Nov 2 19:08:25 EDT 2010


Author: mmassing
Date: 2010-11-02 16:08:25 -0700 (Tue, 02 Nov 2010)
New Revision: 14493

Modified:
   trunk/qgis/src/plugins/georeferencer/qgstransformsettingsdialog.cpp
Log:
Addendum to r14491 / ticket #3141 which addresses the root cause of the problem.

Modified: trunk/qgis/src/plugins/georeferencer/qgstransformsettingsdialog.cpp
===================================================================
--- trunk/qgis/src/plugins/georeferencer/qgstransformsettingsdialog.cpp	2010-11-02 22:35:52 UTC (rev 14492)
+++ trunk/qgis/src/plugins/georeferencer/qgstransformsettingsdialog.cpp	2010-11-02 23:08:25 UTC (rev 14493)
@@ -156,7 +156,7 @@
 void QgsTransformSettingsDialog::accept()
 {
   int minGCPpoints;
-  if ( checkGCPpoints( cmbTransformType->currentIndex(), minGCPpoints ) )
+  if ( checkGCPpoints( cmbTransformType->itemData( cmbTransformType->currentIndex() ).toInt(), minGCPpoints ) )
   {
     if ( leOutputRaster->text().isEmpty() )
     {



More information about the QGIS-commit mailing list