hide by default

This commit is contained in:
commy2 2019-03-15 00:56:09 +01:00
parent 2dbc4993d8
commit aef3073ee8
2 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,6 @@ class CfgActions {
class None;
class Eject: None {
show = QUOTE(call compile getText (configFile >> 'CfgActions' >> 'Eject' >> 'GVAR(setting)'));
GVAR(setting) = QUOTE(profileNamespace getVariable [ARR_2('GVAR(showEjectAction)',1)]);
GVAR(setting) = QUOTE(profileNamespace getVariable [ARR_2('GVAR(showEjectAction)',0)]);
};
};

View File

@ -11,7 +11,7 @@ PREP_RECOMPILE_END;
"CHECKBOX",
[LSTRING(HideEjectAction), LSTRING(HideEjectActionTooltip)],
ELSTRING(common,ACEKeybindCategoryVehicles),
false,
true,
2, {
profileNamespace setVariable [QGVAR(showEjectAction), parseNumber !_this];
saveProfileNamespace;