Skip to content

Commit

Permalink
Merge pull request #6038 from psikomonkie/revert-5920-issue-megamekla…
Browse files Browse the repository at this point in the history
…b-1703-update-ui-in-MekHQ

Revert "MegaMekLab Issue 1703: Allow bays to be added to aerospace fighters"
  • Loading branch information
HammerGS authored Feb 15, 2025
2 parents ddce521 + 1210c2a commit d59798e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions MekHQ/src/mekhq/gui/MekLabTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,6 @@ private class AeroPanel extends EntityPanel {
private ASStructureTab structureTab;
private ASEquipmentTab equipmentTab;
private ASBuildTab buildTab;
private TransportTab transportTab;
private PreviewTab previewTab;

public AeroPanel(Aero a) {
Expand All @@ -576,17 +575,14 @@ public void reloadTabs() {
equipmentTab = new ASEquipmentTab(this);
buildTab = new ASBuildTab(this);
FluffTab fluffTab = new FluffTab(this);
transportTab = new TransportTab(this);
structureTab.addRefreshedListener(this);
equipmentTab.addRefreshedListener(this);
buildTab.addRefreshedListener(this);
transportTab.addRefreshedListener(this);
fluffTab.setRefreshedListener(this);

addTab("Structure/Armor", new JScrollPaneWithSpeed(structureTab));
addTab("Equipment", new JScrollPaneWithSpeed(equipmentTab));
addTab("Assign Criticals", new JScrollPaneWithSpeed(buildTab));
addTab("Transport Bays", new JScrollPaneWithSpeed(transportTab));
addTab("Fluff", new JScrollPaneWithSpeed(fluffTab));
addTab("Preview", new JScrollPaneWithSpeed(previewTab));
this.repaint();
Expand All @@ -597,7 +593,6 @@ public void refreshAll() {
structureTab.refresh();
equipmentTab.refresh();
buildTab.refresh();
transportTab.refresh();
previewTab.refresh();
refreshSummary();
}
Expand All @@ -621,7 +616,7 @@ public void refreshEquipment() {

@Override
public void refreshTransport() {
transportTab.refresh();
// not used for fighters
}

@Override
Expand Down

0 comments on commit d59798e

Please sign in to comment.