MAINT-6744 'System UI size factor has changed... ' shouldn't appear after installation

meow-7.2.2
AndreyL ProductEngine 2016-09-26 00:58:25 +03:00
parent 2412725293
commit 7a7dc795f6
2 changed files with 2 additions and 1 deletions

View File

@ -201,6 +201,7 @@ Ansariel Hiller
MAINT-6612
MAINT-6637
MAINT-6636
MAINT-6744
MAINT-6752
Aralara Rajal
Arare Chantilly

View File

@ -1755,7 +1755,7 @@ LLViewerWindow::LLViewerWindow(const Params& p)
F32 system_scale_factor = mWindow->getSystemUISize();
if (p.first_run || gSavedSettings.getF32("LastSystemUIScaleFactor") != system_scale_factor)
{
mSystemUIScaleFactorChanged = true;
mSystemUIScaleFactorChanged = !p.first_run;
gSavedSettings.setF32("LastSystemUIScaleFactor", system_scale_factor);
gSavedSettings.setF32("UIScaleFactor", system_scale_factor);
}