Commit d1276b86 authored by Aleksei Kanash's avatar Aleksei Kanash Committed by Claudio Valerio

pdf fixes and version update

parent 6037d9aa
...@@ -9,7 +9,7 @@ CONFIG += debug_and_release \ ...@@ -9,7 +9,7 @@ CONFIG += debug_and_release \
VERSION_MAJ = 2 VERSION_MAJ = 2
VERSION_MIN = 00 VERSION_MIN = 01
VERSION_TYPE = r # a = alpha, b = beta, r = release, other => error VERSION_TYPE = r # a = alpha, b = beta, r = release, other => error
VERSION_PATCH = 00 VERSION_PATCH = 00
......
...@@ -1895,7 +1895,7 @@ void UBBoardController::updateSystemScaleFactor() ...@@ -1895,7 +1895,7 @@ void UBBoardController::updateSystemScaleFactor()
QSize pageNominalSize = mActiveScene->nominalSize(); QSize pageNominalSize = mActiveScene->nominalSize();
//we're going to keep scale factor untouched if the size is custom //we're going to keep scale factor untouched if the size is custom
QMap<DocumentSizeRatio::Enum, QSize> sizesMap = UBSettings::settings()->documentSizes; QMap<DocumentSizeRatio::Enum, QSize> sizesMap = UBSettings::settings()->documentSizes;
if(pageNominalSize == sizesMap.value(DocumentSizeRatio::Ratio16_9) || pageNominalSize == sizesMap.value(DocumentSizeRatio::Ratio4_3)) // if(pageNominalSize == sizesMap.value(DocumentSizeRatio::Ratio16_9) || pageNominalSize == sizesMap.value(DocumentSizeRatio::Ratio4_3))
{ {
QSize controlSize = controlViewport(); QSize controlSize = controlViewport();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment