Skip to content
Permalink
Browse files
add xslx filter
  • Loading branch information
roya0045 authored and github-actions committed Dec 19, 2021
1 parent 68a1e6e commit 86778eaf642648500385710209ef00d978799324
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/gui/ogr/qgsvectorlayersaveasdialog.cpp
@@ -485,6 +485,12 @@ void QgsVectorLayerSaveAsDialog::mFormatComboBox_currentIndexChanged( int idx )
sFormat == QLatin1String( "FileGDB" ) ||
sFormat == QLatin1String( "SQLite" ) ||
sFormat == QLatin1String( "SpatiaLite" ) );

if ( sFormat == QLatin1String( "XLSX" ) )
leLayername->setMaxLength( 31 );
else if ( leLayername->isEnabled() )
leLayername->setMaxLength( 32767 ); // default length

if ( !leLayername->isEnabled() )
leLayername->setText( QString() );
else if ( leLayername->text().isEmpty() &&

0 comments on commit 86778ea

Please sign in to comment.