Ensure, that no ',' or '.' is in the ROIs name

This commit is contained in:
jomjol
2022-11-05 13:56:32 +01:00
parent 885cd71b80
commit 22fe50f80a

View File

@@ -657,6 +657,12 @@ function getNUMBERInfo(){
}
function RenameNUMBER(_alt, _neu){
if ((_neu.search(".") >= 0) || (_neu.search(",") >= 0))
{
return "Name must not contain ',' or '.' - please change name";
}
index = -1;
found = false;
for (i = 0; i < NUMBERS.length; ++i) {