PR suggestion
This commit is contained in:
1 parent
17614b663e
commit
bd2e2674bf
1 file changed
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user