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

Add confirmation when pressing "Define Home" while cutting #813

Open
dwaq opened this issue Jan 2, 2020 · 1 comment
Open

Add confirmation when pressing "Define Home" while cutting #813

dwaq opened this issue Jan 2, 2020 · 1 comment

Comments

@dwaq
Copy link

dwaq commented Jan 2, 2020

I'm just getting started so I'm still messing around while cutting to get my Z axis right. On one cut, I had to start over twice because I accidentally hit the "Define Home" button in the middle of the cut which causes the program to lose the current position and offset everything. At the minimum, a confirmation box should be added to this button while Gcode is running, but it probably wouldn't hurt to have always have a confirmation box because there's no undo for this button press.

@BarbourSmith
Copy link
Member

That's a great point, the "define home" button should be disabled while the program is running.

It shouldn't be too difficult. I believe there is already a flag for if a program is running. Linking that flag to the button status shouldn't be too difficult. We could also disable the direction arrows.

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

No branches or pull requests

2 participants