make testing empty cells against an empty string yield true

pull/37/head
Marc Zinnschlag 11 years ago
parent ce8694c84e
commit 4905f1c8ab

@ -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…
Cancel
Save