Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closing last tab causes index out of bounds exception #1718

Open
4 tasks done
TeevTork opened this issue Feb 7, 2025 · 0 comments · May be fixed by #1736
Open
4 tasks done

Closing last tab causes index out of bounds exception #1718

TeevTork opened this issue Feb 7, 2025 · 0 comments · May be fixed by #1736
Labels
GUI User-interface related issue

Comments

@TeevTork
Copy link

TeevTork commented Feb 7, 2025

Brief Description *

Closing last tab causes an exception message to appear. On top of that, a bunch of options in the file menu vanish.

MegaMekLab-0.50.03

Image

Image

3. Steps to Reproduce

  1. Open a mek unit in a tab
  2. Press the red X to close the tab
  3. in the Save Unit Before Proceeding? pop-up select "no"
  4. another pop-up will appear (Unit vs Units) Save Units Before Proceeding? select "no" again
  5. Exception appears in pop-up

On top of that a bunch of options in the File menu disappear.

Attach Files

megameklab-log.zip

Severity *

Low (Minor/Nuisance): Minor glitches or cosmetic issues that don't affect gameplay and occur rarely.

MegaMeklab Suite Version *

0.50.03

Operating System *

Windows 10

Java Version *

Java Vendor: Eclipse Adoptium Java Version: 17.0.13

Final Verification

  • I confirm this is a single, unique issue that hasn't been reported before
  • I have included all necessary information and files to help reproduce this issue
  • I have asked on MegaMek Discord about this issue
  • I have confirmed this issue is being opened on the correct repository: MegaMek, MegaMekLab, or MekHQ
@TeevTork TeevTork changed the title Closing last tab causes exception index out of bounds exception Closing last tab causes index out of bounds exception Feb 7, 2025
@SJuliez SJuliez added the GUI User-interface related issue label Feb 15, 2025
@pavelbraginskiy pavelbraginskiy linked a pull request Feb 19, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI User-interface related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants