From a29b8667efc3485e33e83d63ccf680d300ddc6a6 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Sat, 12 Oct 2013 16:29:36 +0200 Subject: [PATCH] fixed string filter on boolean columns when testing against the value false --- apps/opencs/model/filter/textnode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/opencs/model/filter/textnode.cpp b/apps/opencs/model/filter/textnode.cpp index f3d98ce53..133208b31 100644 --- a/apps/opencs/model/filter/textnode.cpp +++ b/apps/opencs/model/filter/textnode.cpp @@ -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;