fixed string filter on boolean columns when testing against the value false

This commit is contained in:
Marc Zinnschlag 2013-10-12 16:29:36 +02:00
parent a77044cda4
commit a29b8667ef

View file

@ -47,7 +47,7 @@ bool CSMFilter::TextNode::test (const CSMWorld::IdTable& table, int row,
}
else if (data.type()==QVariant::Bool)
{
string = data.toBool() ? "true" : " false";
string = data.toBool() ? "true" : "false";
}
else
return false;