Skip to content
Permalink
Browse files
Fix for ticket #942.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8446 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
StevenB authored and StevenB committed May 16, 2008
1 parent 5db070a commit a40528225caa13a42c08798fbc89e06bbeb4d5e9
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 a405282

Please sign in to comment.