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 5e21641 commit 856d297Copy full SHA for 856d297
src/app/qgsoptions.cpp
@@ -2320,7 +2320,7 @@ void QgsOptions::setZoomFactorValue()
2320
}
2321
else
2322
{
2323
- int percentValue = mSettings->value( QStringLiteral( "/qgis/zoom_factor" ), 2 ).toInt() * 100;
+ int percentValue = mSettings->value( QStringLiteral( "/qgis/zoom_factor" ), 2 ).toDouble() * 100;
2324
spinZoomFactor->setValue( percentValue );
2325
2326
0 commit comments