pygui: validation of the node name field will allow - instead of _, - is valid while _ is not
This commit is contained in:
parent
f919520058
commit
a660b01e93
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue