Skip to content
Permalink
Browse files
Fix for ticket #942.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8446 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
StevenB authored and StevenB committed May 16, 2008
1 parent 27b0a65 commit f67d600862d971e18b74e94c3c4e2085d9df6cc1
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/plugins/gps_importer/qgsgpsplugingui.cpp
@@ -106,9 +106,15 @@ void QgsGPSPluginGui::on_buttonBox_accepted()
// or download GPS data from a device?
case 2: {
int featureType = cmbDLFeatureType->currentItem();

QString fileName = leDLOutput->text();
if(fileName.right(4) != ".gpx"){
fileName += ".gpx";
}

emit downloadFromGPS(cmbDLDevice->currentText(), cmbDLPort->currentText(),
featureType == 0, featureType == 1, featureType == 2,
leDLOutput->text(), leDLBasename->text());
fileName, leDLBasename->text());
break;
}
// or upload GPS data to a device?

0 comments on commit f67d600

Please sign in to comment.