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

Menu entry corrections CommonMenuBar and MovementDisplay #2937

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

SJuliez
Copy link
Member

@SJuliez SJuliez commented Jun 11, 2021

Small corrections to keep the log from being spammed with (justified) error messages (and one actual menu correction).

Comment on lines +5673 to +5674
// Menu entry does not exist
// clientgui.getMenuBar().setEnabled(MoveCommand.MOVE_TRAITOR.getCmd(), enabled);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why keep these if they don't exist?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Someone thought at some point they should exist. I personally think all the Move/Fire in-game-action menu commands should be removed. That's what the buttons are for. The menu is for loading games, saving maps or other stuff. In this PR I didn't want to adress any of this, just remove the log errors.

@Windchild292 Windchild292 merged commit ea70efe into MegaMek:master Jun 11, 2021
@SJuliez SJuliez deleted the CommonMenu_Corr branch June 26, 2021 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants