shared Team Units and Resources
set the checkBoxes to non-editable when scenarioCheckBox is enabled
This commit is contained in:
parent
b3449e59be
commit
c5c177a82c
|
@ -4866,6 +4866,8 @@ void MenuStateCustomGame::SetupUIForScenarios() {
|
||||||
}
|
}
|
||||||
listBoxFogOfWar.setEditable(false);
|
listBoxFogOfWar.setEditable(false);
|
||||||
checkBoxAllowObservers.setEditable(false);
|
checkBoxAllowObservers.setEditable(false);
|
||||||
|
checkBoxAllowTeamUnitSharing.setEditable(false);
|
||||||
|
checkBoxAllowTeamResourceSharing.setEditable(false);
|
||||||
//listBoxPathFinderType.setEditable(false);
|
//listBoxPathFinderType.setEditable(false);
|
||||||
checkBoxEnableSwitchTeamMode.setEditable(false);
|
checkBoxEnableSwitchTeamMode.setEditable(false);
|
||||||
listBoxAISwitchTeamAcceptPercent.setEditable(false);
|
listBoxAISwitchTeamAcceptPercent.setEditable(false);
|
||||||
|
@ -4886,6 +4888,8 @@ void MenuStateCustomGame::SetupUIForScenarios() {
|
||||||
}
|
}
|
||||||
listBoxFogOfWar.setEditable(true);
|
listBoxFogOfWar.setEditable(true);
|
||||||
checkBoxAllowObservers.setEditable(true);
|
checkBoxAllowObservers.setEditable(true);
|
||||||
|
checkBoxAllowTeamUnitSharing.setEditable(false);
|
||||||
|
checkBoxAllowTeamResourceSharing.setEditable(false);
|
||||||
//listBoxPathFinderType.setEditable(true);
|
//listBoxPathFinderType.setEditable(true);
|
||||||
checkBoxEnableSwitchTeamMode.setEditable(true);
|
checkBoxEnableSwitchTeamMode.setEditable(true);
|
||||||
listBoxAISwitchTeamAcceptPercent.setEditable(true);
|
listBoxAISwitchTeamAcceptPercent.setEditable(true);
|
||||||
|
|
Loading…
Reference in New Issue