diff --git a/apps/opencs/model/filter/parser.cpp b/apps/opencs/model/filter/parser.cpp index c2562ad1e1..7c8f9d7682 100644 --- a/apps/opencs/model/filter/parser.cpp +++ b/apps/opencs/model/filter/parser.cpp @@ -113,6 +113,9 @@ CSMFilter::Token CSMFilter::Parser::getStringToken() error(); return Token (Token::Type_None); } + + if (string[0]=='"') + string = string.substr (1, string.size()-2); } return checkKeywords (string);