Skip to content
Permalink
Browse files

fix zoom vactor value on percent

  • Loading branch information
myarjunar authored and m-kuhn committed Mar 10, 2017
1 parent 5e21641 commit 856d297985d4ececc36fe01f8631c7864f9de2c9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsoptions.cpp
@@ -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.
You can’t perform that action at this time.