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

Print mul through print queue dialog #1460

Merged
merged 5 commits into from
Mar 19, 2024

Conversation

pavelbraginskiy
Copy link
Collaborator

Builds on top of #1457, view the last commit for the code changes just in this feature.

Now that the print queue dialog has some useful features in it that allow organizing and reordering the units to be printed, it makes sense to reuse that dialog when printing units from a MUL file.

This pull request makes it so that the Print -> From MUL... menu option opens the same dialog as Print -> Queue Units to Print..., but with the units list prefilled from the MUL. The corresponding Export option is similarly affected.

The options to print/export with a single unit per page are removed, since the dialog already has this functionality as a checkbox.

If printing from a MUL file, the dialog will include the name of the pilot and their skills with each unit to identify it.

Screenshot:
image

@HammerGS HammerGS merged commit 108eda2 into MegaMek:master Mar 19, 2024
4 checks passed
@pavelbraginskiy pavelbraginskiy deleted the print_mul_through_queue branch March 19, 2024 02:00
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