mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-23 20:00:45 -04:00
fixed string filter on boolean columns when testing against the value false
This commit is contained in:
parent
a77044cda4
commit
a29b8667ef
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user