1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-19 12:39:42 +00:00

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) else if (data.type()==QVariant::Bool)
{ {
string = data.toBool() ? "true" : " false"; string = data.toBool() ? "true" : "false";
} }
else else
return false; return false;