Skip to content

Commit fc7ac83

Browse files
committed
vector file writer: reapply integer options (accidentally removed in 9a6235d; fixes #16811, #16819)
1 parent a2b82bf commit fc7ac83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gui/ogr/qgsvectorlayersaveasdialog.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,8 @@ QStringList QgsVectorLayerSaveAsDialog::layerOptions() const
744744
QgsVectorFileWriter::IntOption *opt = dynamic_cast<QgsVectorFileWriter::IntOption *>( *it );
745745
QSpinBox *sb = mLayerOptionsGroupBox->findChild<QSpinBox *>( it.key() );
746746
if ( opt && sb && sb->value() != opt->defaultValue )
747-
break;
747+
options << QStringLiteral( "%1=%2" ).arg( it.key() ).arg( sb->value() );
748+
break;
748749
}
749750

750751
case QgsVectorFileWriter::Set:

0 commit comments

Comments
 (0)