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:
|
if len(s) == 0:
|
||||||
return True
|
return True
|
||||||
for x in s:
|
for x in s:
|
||||||
if not x.isalnum() and x != "_":
|
if not x.isalnum() and x != "-":
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue