PR suggestion

This commit is contained in:
Jake Norbut committed 2018-07-16 13:09:02 -05:00
1 parent 17614b663e
commit bd2e2674bf
1 file changed
+2 -1
+2 -1
View File
@@ -44,7 +44,8 @@ namespace mbts.spark {
pnl_view = CollectionViewSource.GetDefaultView(_pnl_data);
// restore filter state
if (startup_data?.filters is FilterStates fs) {
var fs = startup_data?.filters;
if (startup_data != null) {
account_filter.load_state(fs.account_regex);
exchange_string_filter.load_state(fs.exchange_regex);
symbol_filter.load_state(fs.symbol_regex);