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 72d56eb commit ba589a7Copy full SHA for ba589a7
src/core/settings/qgssettingsregistrycore.cpp
@@ -151,7 +151,7 @@ void QgsSettingsRegistryCore::migrateOldSettings()
151
pal::Pal::settingsRenderingLabelCandidatesLimitPolygons->copyValueFromKey( QStringLiteral( "core/rendering/label_candidates_limit_polygons" ), true );
152
153
// migrate only one way for map scales
154
- if ( !settingsMapScales->exists() )
+ if ( !settingsMapScales->exists() && QgsSettings().contains( QStringLiteral( "Map/scales" ) ) )
155
settingsMapScales->setValue( QgsSettings().value( QStringLiteral( "Map/scales" ) ).toString().split( ',' ) );
156
157
0 commit comments