fix this so soft works at the end of the list

This commit is contained in:
Jonathan 2022-05-15 21:24:01 -04:00
parent ad85489580
commit 8012d46e46
1 changed files with 2 additions and 6 deletions

View File

@ -348,12 +348,8 @@ public:
catch (std::exception &) {
// if we didn't provide a (valid) number, then
// assume it's meant to be the default of -1
if (parser.token[0] == '-') {
setValueFromParse(-1, locked);
return true;
} else {
return false;
}
setValueFromParse(-1, locked);
return true;
}
}