- fixed issues in units conversion

- in CNCJob UI Autolevelling - changed how the probing code is generated and when
- changed some strings in CNCJob UI Autolevelling
This commit is contained in:
Marius Stanciu
2020-08-24 00:51:07 +03:00
parent 3430d86dba
commit 01df27f45f
7 changed files with 182 additions and 137 deletions

View File

@@ -694,7 +694,7 @@ class NumericalEvalTupleEntry(EvalEntry):
def __init__(self, border_color=None):
super().__init__(border_color=border_color)
regex = QtCore.QRegExp("[0-9\/\*\+\-\%\.\s\,]*")
regex = QtCore.QRegExp("[0-9\/\*\+\-\%\.\s\,\[\]]*")
validator = QtGui.QRegExpValidator(regex, self)
self.setValidator(validator)