Skip to content

Commit

Permalink
Merge pull request MegaMek#5866 from IllianiCBT/disableCamOpsMarket
Browse files Browse the repository at this point in the history
Temporarily Removed CamOps Contract Market
  • Loading branch information
IllianiCBT authored Jan 23, 2025
2 parents 0381893 + 0378fd7 commit 01d696a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions MekHQ/src/mekhq/gui/campaignOptions/contents/MarketsTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,7 @@ public JPanel createUnitMarketTab() {
private void initializeContractMarket() {
pnlContractMarketGeneralOptions = new JPanel();
lblContractMarketMethod = new JLabel();
comboContractMarketMethod = new MMComboBox<>("comboContractMarketMethod",
ContractMarketMethod.values());
comboContractMarketMethod = new MMComboBox<>("comboContractMarketMethod");
lblContractSearchRadius = new JLabel();
spnContractSearchRadius = new JSpinner();
chkVariableContractLength = new JCheckBox();
Expand Down Expand Up @@ -530,8 +529,10 @@ public JPanel createContractMarketTab() {
private JPanel createContractMarketGeneralOptionsPanel() {
// Contents
lblContractMarketMethod = new CampaignOptionsLabel("ContractMarketMethod");
comboContractMarketMethod = new MMComboBox<>("comboContractMarketMethod",
ContractMarketMethod.values());
comboContractMarketMethod = new MMComboBox<>("comboContractMarketMethod");
DefaultComboBoxModel<ContractMarketMethod> model = new DefaultComboBoxModel<>(ContractMarketMethod.values());
model.removeElement(ContractMarketMethod.CAM_OPS);
comboContractMarketMethod.setModel(model);

lblContractSearchRadius = new CampaignOptionsLabel("ContractSearchRadius");
spnContractSearchRadius = new CampaignOptionsSpinner("ContractSearchRadius",
Expand Down

0 comments on commit 01d696a

Please sign in to comment.