pygui: validation of the node name field will allow - instead of _, - is valid while _ is not

This commit is contained in:
Blake Harnden 2021-01-07 14:24:57 -08:00
parent f919520058
commit a660b01e93

View file

@ -107,7 +107,7 @@ class NodeNameEntry(ValidationEntry):
if len(s) == 0:
return True
for x in s:
if not x.isalnum() and x != "_":
if not x.isalnum() and x != "-":
return False
return True