SPARK-1650 Ladder - selected account resets to the first item in dropdown when account limits are changed

This commit is contained in:
John Colvin committed 2018-08-29 16:00:09 -04:00
1 parent 5424a07862
commit 146e555ad0
1 file changed
+5 -2
@@ -649,9 +649,12 @@ namespace mbts.ui.shell
}
} else {
_items.sync_with(value);
if (_is_user_selected_item)
if (_is_user_selected_item) {
_is_user_selected_item = _items.Contains(_selected_item);
_try_auto_select();
}
if (!_is_user_selected_item) {
_try_auto_select();
}
}
}
void IObserver<IEnumerable<T>>.OnError(Exception error) { }