Skip to content

Commit 856d297

Browse files
myarjunarm-kuhn
authored andcommittedMar 10, 2017
fix zoom vactor value on percent
1 parent 5e21641 commit 856d297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgsoptions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2320,7 +2320,7 @@ void QgsOptions::setZoomFactorValue()
23202320
}
23212321
else
23222322
{
2323-
int percentValue = mSettings->value( QStringLiteral( "/qgis/zoom_factor" ), 2 ).toInt() * 100;
2323+
int percentValue = mSettings->value( QStringLiteral( "/qgis/zoom_factor" ), 2 ).toDouble() * 100;
23242324
spinZoomFactor->setValue( percentValue );
23252325
}
23262326
}

0 commit comments

Comments
 (0)
Please sign in to comment.