Skip to content

add btn_probe_tool_setter to false if ini error#67

Open
alkabal wants to merge 2 commits intolinuxcnc-probe-screen:masterfrom
alkabal:patch-1
Open

add btn_probe_tool_setter to false if ini error#67
alkabal wants to merge 2 commits intolinuxcnc-probe-screen:masterfrom
alkabal:patch-1

Conversation

@alkabal
Copy link
Copy Markdown
Contributor

@alkabal alkabal commented Jan 12, 2021

No description provided.

Comment thread psng/python/tool_measurement.py
@alkabal
Copy link
Copy Markdown
Contributor Author

alkabal commented Jan 14, 2021 via email

@alkabal
Copy link
Copy Markdown
Contributor Author

alkabal commented Jan 14, 2021 via email

@kiall
Copy link
Copy Markdown
Contributor

kiall commented Jan 14, 2021

No If user have only a probe and no tool setter this stuff is done for that

Interesting, I hadn't considered that use case as I have both 😂

That said - with the current code in this repo, 2 lines after your change we exit the program.

Adding the ability to not use a tool setter seems fine to me, but it's would be something we need to add vs something that already exists :)

I've cleaned up this code, but not added that feature, in #69

We can add that on top of this pretty easily I think.

@kiall kiall closed this Jan 14, 2021
@kiall kiall reopened this Jan 14, 2021
@kiall
Copy link
Copy Markdown
Contributor

kiall commented Jan 14, 2021

Apologies, closed by mistake and hit enter too early - I've updated my last comment to finish it :)

@alkabal
Copy link
Copy Markdown
Contributor Author

alkabal commented Jan 14, 2021

Sorry i did not take attention in my fork i have removed the sys exit and display a error message in place (without differentiating...)

So i also apologies i have PR this without testing the rest of your code !

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