Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configs/sim/axis/plasma/plasmac2/plasmac2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2498,7 +2498,7 @@ def user_button_setup():
elif bCode.strip() == 'cut-type' and not 'cut-type' in buttonCodes:
bName = bName.split(',')
if len(bName) == 1:
text = _('Pierce\Only') if '\\' in bName[0] else _('Pierce Only')
text = _('Pierce\\Only') if '\\' in bName[0] else _('Pierce Only')
bName.append(text)
outCode = {'code':'cut-type', 'text':bName}
elif bCode.strip() == 'single-cut' and not 'single-cut' in buttonCodes:
Expand Down
4 changes: 2 additions & 2 deletions nc_files/holecircle.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def ui():
f.grid(row=0, column=1, sticky="nw")
b.grid(row=1, column=0, columnspan=2, sticky="ne")

validate_float = "expr {[regexp {^-?([0-9]+(\.[0-9]*)?|\.[0-9]+|)$} %P]}"
validate_float = "expr {[regexp {^-?([0-9]+(\\.[0-9]*)?|\\.[0-9]+|)$} %P]}"
validate_int = "expr {[regexp {^-?([0-9]+|)$} %P]}"
validate_posfloat = "expr {[regexp {^?([0-9]+(\.[0-9]*)?|\.[0-9]+|)$} %P]}"
validate_posfloat = "expr {[regexp {^?([0-9]+(\\.[0-9]*)?|\\.[0-9]+|)$} %P]}"
validate_posint = "expr {[regexp {^([0-9]+|)$} %P]}"
def posfloatentry(f, v):
var = tkinter.DoubleVar(f)
Expand Down
Loading