Skip to content
Permalink
Browse files

Check fields by default when exporting to .kml

Unlike other formats, saving into kml format didn't have the fields automatically selected; people could end with an empty attributes file
  • Loading branch information
DelazJ authored and m-kuhn committed Jan 5, 2017
1 parent 12ab928 commit 2ff3b4fb9b09e42ede9e9a643425f6512ca822cb
Showing with 1 addition and 6 deletions.
  1. +1 −6 src/app/ogr/qgsvectorlayersaveasdialog.cpp
@@ -345,12 +345,7 @@ void QgsVectorLayerSaveAsDialog::on_mFormatComboBox_currentIndexChanged( int idx
bool fieldsAsDisplayedValues = false;

const QString sFormat( format() );
if ( sFormat == QLatin1String( "KML" ) )
{
mAttributesSelection->setEnabled( true );
selectAllFields = false;
}
else if ( sFormat == QLatin1String( "DXF" ) )
if ( sFormat == QLatin1String( "DXF" ) )
{
mAttributesSelection->setEnabled( false );
selectAllFields = false;

0 comments on commit 2ff3b4f

Please sign in to comment.
You can’t perform that action at this time.