We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 62a571d commit aa417a1Copy full SHA for aa417a1
src/app/qgscustomization.cpp
@@ -227,7 +227,15 @@ void QgsCustomizationDialog::on_actionSave_triggered( bool checked )
227
lastDir, tr( "Customization files (*.ini)" ) );
228
229
if ( fileName.isEmpty() )
230
+ {
231
return;
232
+ }
233
+
234
+ if ( !fileName.endsWith( ".ini", Qt::CaseInsensitive ) )
235
236
+ fileName += ".ini";
237
238
239
QFileInfo fileInfo( fileName );
240
mySettings.setValue( mLastDirSettingsName, fileInfo.absoluteDir().absolutePath() );
241
0 commit comments