Skip to content
Snippets Groups Projects
Commit e2d6622493d5 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

use set_optional so one will get properly warned if erroneous value is given

parent ef50aa5ed8ce
No related branches found
No related tags found
No related merge requests found
......@@ -524,7 +524,7 @@
if root is not None and root.should_register_op and value != self.optional:
from rql.undo import SetOptionalOperation
root.undo_manager.add_operation(SetOptionalOperation(self, self.optional))
self.optional= value
self.set_optional(value)
CMP_OPERATORS = frozenset(('=', '!=', '<', '<=', '>=', '>', 'ILIKE', 'LIKE', 'REGEXP'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment