I had the wrong names in the panel, fixed. Version spoofing should work now
This commit is contained in:
@@ -427,10 +427,10 @@ void LLPanelLogin::fillID0()
|
||||
|
||||
void LLPanelLogin::fillVer()
|
||||
{
|
||||
getChild<LLSpinCtrl>("vermaj_spin")->setValue((S32)gSavedSettings.getU32("SpecifiedVersionMaj"));
|
||||
getChild<LLSpinCtrl>("vermin_spin")->setValue((S32)gSavedSettings.getU32("SpecifiedVersionMin"));
|
||||
getChild<LLSpinCtrl>("verpatch_spin")->setValue((S32)gSavedSettings.getU32("SpecifiedVersionPatch"));
|
||||
getChild<LLSpinCtrl>("verbuild_spin")->setValue((S32)gSavedSettings.getU32("SpecifiedVersionBuild"));
|
||||
getChild<LLSpinCtrl>("vermaj_spin")->forceSetValue((S32)gSavedSettings.getU32("SpecifiedVersionMaj"));
|
||||
getChild<LLSpinCtrl>("vermin_spin")->forceSetValue((S32)gSavedSettings.getU32("SpecifiedVersionMin"));
|
||||
getChild<LLSpinCtrl>("verpatch_spin")->forceSetValue((S32)gSavedSettings.getU32("SpecifiedVersionPatch"));
|
||||
getChild<LLSpinCtrl>("verbuild_spin")->forceSetValue((S32)gSavedSettings.getU32("SpecifiedVersionBuild"));
|
||||
}
|
||||
|
||||
// static
|
||||
|
||||
@@ -134,19 +134,19 @@
|
||||
</text>
|
||||
<spinner decimal_digits="0" follows="left|bottom" height="15"
|
||||
increment="1" initial_val="0" label="Major" label_width="40" left_delta="64" bottom_delta="7"
|
||||
max_val="512" min_val="0" mouse_opaque="true" name="vermaj_edit" control_edit="SpecifiedVersionMaj"
|
||||
max_val="512" min_val="0" mouse_opaque="true" name="vermaj_spin" control_edit="SpecifiedVersionMaj"
|
||||
text_enabled_color="110, 15, 15, 255" width="87" font_size="Small" />
|
||||
<spinner decimal_digits="0" follows="left|bottom" height="15"
|
||||
increment="1" initial_val="0" label="Minor" label_width="40" left_delta="0"
|
||||
max_val="512" min_val="0" mouse_opaque="true" name="vermin_edit" control_edit="SpecifiedVersionMin"
|
||||
max_val="512" min_val="0" mouse_opaque="true" name="vermin_spin" control_edit="SpecifiedVersionMin"
|
||||
text_enabled_color="110, 15, 15, 255" width="87" font_size="Small" />
|
||||
<spinner decimal_digits="0" follows="left|bottom" height="15"
|
||||
increment="1" initial_val="0" label="Build" label_width="40" left_delta="0"
|
||||
max_val="512" min_val="0" mouse_opaque="true" name="verpatch_edit" control_edit="SpecifiedVersionPatch"
|
||||
max_val="512" min_val="0" mouse_opaque="true" name="verpatch_spin" control_edit="SpecifiedVersionPatch"
|
||||
text_enabled_color="110, 15, 15, 255" width="87" font_size="Small" />
|
||||
<spinner decimal_digits="0" follows="left|bottom" height="15"
|
||||
increment="1" initial_val="0" label="Patch" label_width="40" left_delta="0"
|
||||
max_val="512" min_val="0" mouse_opaque="true" name="verbuild_edit" control_edit="SpecifiedVersionBuild"
|
||||
max_val="512" min_val="0" mouse_opaque="true" name="verbuild_spin" control_edit="SpecifiedVersionBuild"
|
||||
text_enabled_color="110, 15, 15, 255" width="87" font_size="Small" />
|
||||
|
||||
</panel>
|
||||
|
||||
Reference in New Issue
Block a user