MaslowCNC/GroundControl

z-axis popup selector value can lose its units between popup launches

Closed this issue · 1 comments

  • Start with the main window in INCHES mode. Open the z-axis popup, enter 0.1 in the value selector. Change to MM, the value correctly changes to 2.54. Leave the popup by means of the 'Done' button. Thanks to the fix in PR #611 , the main window is still in INCHES mode. Re-open the z-axis popup, the value shown will be 2.54, the units will be inches, the Plunge-to value will be -2.54 (inches). Select MM, the Plunge-to value becomes -64.52. I think the cause is that the numeric value showing in the value selector persists across subsequent uses of the popup, but the units are lost. The fix would seem to be to put the value back into the original units when the popup is exited.
    Mentioned in PR #611

This was addresses in PR #611