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

Allow printing prohibited filaments when 'Skip AMS Blacklist Check' is enabled #7161

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

phiten
Copy link
Contributor

@phiten phiten commented Oct 18, 2024

Description

Allow printing prohibited filaments when 'Skip AMS Blacklist Check' is enabled.

Until now for prohibited filaments (even with Skip Check enabled) you get a warning and when clicking on 'Confirm' nothing happens. If using the 'Send' instead of 'Printing' it sends it fine to the printer as no check is performed but the print has to be started manually at the printer.

The PR checks if 'Skip AMS Blacklist Check' is enabled and overwrites the prohibit action from the blacklist file while the check is running with a warning action, so there is still a popup window but when confirming the print actually starts.

This is for sure not the most beautiful solution but the least intrusive as everything stays the same for the standard case where 'Skip AMS Blacklist Check' is disabled (default).

Screenshots/Recordings/Graphs

No UI changes were made.

Tests

Compiled and tested in my Repo, verified working on Windows 11 with 'Skip AMS Blacklist Check' enabled and disabled.

Copy link
Owner

@SoftFever SoftFever left a comment

Choose a reason for hiding this comment

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

LGTM
Thank you

@SoftFever SoftFever merged commit 425d9c9 into SoftFever:main Oct 22, 2024
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