From 1dd304c4ab4b420e685d3ddcabe44051f971c564 Mon Sep 17 00:00:00 2001 From: Hazim Gazov Date: Sat, 1 May 2010 01:02:54 -0300 Subject: [PATCH] I had the wrong names in the panel, fixed. Version spoofing should work now --- indra/newview/llpanellogin.cpp | 8 ++++---- indra/newview/skins/default/xui/en-us/panel_login.xml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index c2534ac7f..15c1f93c8 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -427,10 +427,10 @@ void LLPanelLogin::fillID0() void LLPanelLogin::fillVer() { - getChild("vermaj_spin")->setValue((S32)gSavedSettings.getU32("SpecifiedVersionMaj")); - getChild("vermin_spin")->setValue((S32)gSavedSettings.getU32("SpecifiedVersionMin")); - getChild("verpatch_spin")->setValue((S32)gSavedSettings.getU32("SpecifiedVersionPatch")); - getChild("verbuild_spin")->setValue((S32)gSavedSettings.getU32("SpecifiedVersionBuild")); + getChild("vermaj_spin")->forceSetValue((S32)gSavedSettings.getU32("SpecifiedVersionMaj")); + getChild("vermin_spin")->forceSetValue((S32)gSavedSettings.getU32("SpecifiedVersionMin")); + getChild("verpatch_spin")->forceSetValue((S32)gSavedSettings.getU32("SpecifiedVersionPatch")); + getChild("verbuild_spin")->forceSetValue((S32)gSavedSettings.getU32("SpecifiedVersionBuild")); } // static diff --git a/indra/newview/skins/default/xui/en-us/panel_login.xml b/indra/newview/skins/default/xui/en-us/panel_login.xml index 215071c65..a10c2d401 100644 --- a/indra/newview/skins/default/xui/en-us/panel_login.xml +++ b/indra/newview/skins/default/xui/en-us/panel_login.xml @@ -134,19 +134,19 @@