Skip to content

Commit 2ff3b4f

Browse files
DelazJm-kuhn
authored andcommittedJan 5, 2017
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
1 parent 12ab928 commit 2ff3b4f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed
 

‎src/app/ogr/qgsvectorlayersaveasdialog.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -345,12 +345,7 @@ void QgsVectorLayerSaveAsDialog::on_mFormatComboBox_currentIndexChanged( int idx
345345
bool fieldsAsDisplayedValues = false;
346346

347347
const QString sFormat( format() );
348-
if ( sFormat == QLatin1String( "KML" ) )
349-
{
350-
mAttributesSelection->setEnabled( true );
351-
selectAllFields = false;
352-
}
353-
else if ( sFormat == QLatin1String( "DXF" ) )
348+
if ( sFormat == QLatin1String( "DXF" ) )
354349
{
355350
mAttributesSelection->setEnabled( false );
356351
selectAllFields = false;

0 commit comments

Comments
 (0)
Please sign in to comment.