Skip to content

Commit

Permalink
Fixed #8 Update Money attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Rapp committed Sep 20, 2017
1 parent 73359e3 commit 040f7c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cinteros.XTB.BulkDataUpdater/MainControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,8 @@ private object GetValue(AttributeTypeCode? type)
var attr = (BooleanAttributeMetadata)((AttributeItem)cmbAttribute.SelectedItem).Metadata;
return ((OptionsetItem)cmbValue.SelectedItem).meta == attr.OptionSet.TrueOption;
}
case AttributeTypeCode.Money:
return new Money(decimal.Parse(cmbValue.Text));

// The following allows to specify an entity reference in the following form:
// attribute_name,attribute_guid
Expand Down

0 comments on commit 040f7c6

Please sign in to comment.