From da3956764c801bf2cbf4e315543f9bb7ee243a34 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Tue, 20 Mar 2018 14:32:46 -0400 Subject: [PATCH] SPARK-701 Allow cancel of child orders in ladder --- src/client/spark/view/Spark/Ladder/OrderVM.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/spark/view/Spark/Ladder/OrderVM.cs b/src/client/spark/view/Spark/Ladder/OrderVM.cs index eb181dbe7..b52a6156b 100644 --- a/src/client/spark/view/Spark/Ladder/OrderVM.cs +++ b/src/client/spark/view/Spark/Ladder/OrderVM.cs @@ -94,7 +94,7 @@ namespace mbts.spark { public bool has_phantom_price => !double.IsNaN(_phantom_price); public ICommand shatter_command => new DelegateCommand(() => _execute_command(model.order_gateway.crack_order(_order.Key).ignore) , () => !has_parent); - public ICommand cancel_command => new DelegateCommand(() => _execute_command(_cancel_order), () => !has_parent); + public ICommand cancel_command => new DelegateCommand(() => _execute_command(_cancel_order)); public ICommand modify_command => new DelegateCommand(() => _execute_command(() => _bus.post(SparkTags.ShowModifyOrderTag, _order.Key)), () => !has_parent); public event Action command_executed; void _execute_command(Action action) {