Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix zoom vactor value on percent
  • Loading branch information
myarjunar authored and m-kuhn committed Mar 10, 2017
1 parent 5e21641 commit 856d297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsoptions.cpp
Expand Up @@ -2320,7 +2320,7 @@ void QgsOptions::setZoomFactorValue()
}
else
{
int percentValue = mSettings->value( QStringLiteral( "/qgis/zoom_factor" ), 2 ).toInt() * 100;
int percentValue = mSettings->value( QStringLiteral( "/qgis/zoom_factor" ), 2 ).toDouble() * 100;
spinZoomFactor->setValue( percentValue );
}
}

0 comments on commit 856d297

Please sign in to comment.