mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-25 22:10:41 -04:00
make testing empty cells against an empty string yield true
This commit is contained in:
parent
ce8694c84e
commit
4905f1c8ab
@ -49,6 +49,8 @@ bool CSMFilter::TextNode::test (const CSMWorld::IdTable& table, int row,
|
|||||||
{
|
{
|
||||||
string = data.toBool() ? "true" : "false";
|
string = data.toBool() ? "true" : "false";
|
||||||
}
|
}
|
||||||
|
else if (mText.empty() && !data.isValid())
|
||||||
|
return true;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user