forked from teamnwah/openmw-tes3coop
make testing empty cells against an empty string yield true
This commit is contained in:
parent
ce8694c84e
commit
4905f1c8ab
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ bool CSMFilter::TextNode::test (const CSMWorld::IdTable& table, int row,
|
|||
{
|
||||
string = data.toBool() ? "true" : "false";
|
||||
}
|
||||
else if (mText.empty() && !data.isValid())
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue