Merge branch 'prod'

This commit is contained in:
Pedro Pinto committed 2019-08-28 12:50:05 -04:00
commit e283d05d81
4 files changed
+8 -2

No files matched your search

+4
View File
@@ -4,6 +4,10 @@ weight = 3
sort_by = "weight"
insert_anchor_links = "right"
+++
## 2.8.3
### Bug Fixes
- Fixed a bug that could cause an OrderBook's Security column filter to be blank
- Fixed a bug that could cause a UI failure when clearing a filter selection on a filtering widget
## 2.8.2
### Bug Fixes
- Added proper display factors for SOM spreads
@@ -137,7 +137,7 @@ namespace mbts.spark {
c.PropertyChanged -= on_prop_changed;
}
AccountTuple? account_factory(KeyValuePair<uint, string> kv) => new AccountTuple(kv.Key, kv.Value);
AlgoDefinitionVM algo_factory(AlgoData data) => AlgoDefinitionVM.create(_model, data);
AlgoDefinitionVM algo_factory(AlgoData data) => AlgoDefinitionVM.create(_model, data, is_synthetic ? AlgoFormats.Spreader : AlgoFormats.Exchange);
}
public event Action result_changed;
@@ -168,6 +168,7 @@ namespace mbts.spark.filters {
_comparer = comparer;
_selected_items_set = new HashSet<TValue>(_equality_comparer);
_items_set = new HashSet<TValue>(_equality_comparer);
items = ObservableAutoWrapper.create_read_only_wrapper(_items);
selected_items.CollectionChanged += _on_selected_items_CollectionChanged;
_sync_items();
}
@@ -101,7 +101,8 @@ namespace mbts.ui.controls
case NotifyCollectionChangedAction.Replace:
if (e.OldItems != null) foreach (var item in e.OldItems) _set_is_selected(item, false);
if (e.NewItems != null) foreach (var item in e.NewItems) _set_is_selected(item, true); break;
case NotifyCollectionChangedAction.Reset: foreach (var item in ItemsSource) _set_is_selected(item, false); break;
case NotifyCollectionChangedAction.Reset:
if (ItemsSource != null) foreach (var item in ItemsSource) _set_is_selected(item, false); break;
}
_update_is_all_selected();
}