Ignore:
Timestamp:
Aug 9, 2017, 10:14:31 PM (7 years ago)
Author:
chronos
Message:
  • Added: Allow to move up/down rule items.
  • Fixed: Store rule operator to XML file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/generator/URules.pas

    r112 r113  
    229229begin
    230230  WriteString(Node, 'Name', Name);
     231  WriteInteger(Node, 'Type', Integer(RuleType));
    231232
    232233  RuleItemsNode := Node.OwnerDocument.CreateElement('RuleItems');
     
    266267begin
    267268  Name := ReadString(Node, 'Name', '');
     269  RuleType := TRuleType(ReadInteger(Node, 'Type', Integer(rtAnd)));
    268270
    269271  ItemsNode := Node.FindNode('RuleItems');
Note: See TracChangeset for help on using the changeset viewer.