diff --git a/src/client/spark/Modules/Trading/OrderBook/OrderBookVM.cs b/src/client/spark/Modules/Trading/OrderBook/OrderBookVM.cs index 392b4c47a..552d080aa 100644 --- a/src/client/spark/Modules/Trading/OrderBook/OrderBookVM.cs +++ b/src/client/spark/Modules/Trading/OrderBook/OrderBookVM.cs @@ -253,8 +253,8 @@ namespace mbts.spark { (gen, anims) => new OrderBookGridSettings(gen, anims.Select(a => new OrderRecordTuplePredicateAnimations(a.predicate_data, a.cell_animations, a.row_animations, a.sound_notifications))), p => p.create_predicate(notification_service.data_cache), p => p.create_notification_predicate(notification_service.data_cache), - notification_service.link_to_order, - notification_service.link_to_order, + notification_service == null ? new Func, SoundNotification, IDisposable>((p, sn) => Disposable.empty) : notification_service.link_to_order, + notification_service == null ? new Func, IDisposable>(t => Disposable.empty) : notification_service.link_to_order, col_settings_flags); } diff --git a/src/client/spark/Modules/Trading/OrderBook/OrderBookWindow.cs b/src/client/spark/Modules/Trading/OrderBook/OrderBookWindow.cs index 7454e4d78..8a46847a5 100644 --- a/src/client/spark/Modules/Trading/OrderBook/OrderBookWindow.cs +++ b/src/client/spark/Modules/Trading/OrderBook/OrderBookWindow.cs @@ -81,7 +81,7 @@ namespace mbts.spark { wbids => wbids.Any(), () => { var resp = BTSMessageBox.Show( - "Are you sure you want to cancel all working buy orders?", + "Are you sure you want to cancel all BUY orders?", "Cancel Buy Orders", BTSMessageBoxButtons.Yes | BTSMessageBoxButtons.No, MessageBoxImage.Question); @@ -94,7 +94,7 @@ namespace mbts.spark { wasks => wasks.Any(), () => { var resp = BTSMessageBox.Show( - "Are you sure you want to cancel all working sell orders?", + "Are you sure you want to cancel all SELL orders?", "Cancel Sell Orders", BTSMessageBoxButtons.Yes | BTSMessageBoxButtons.No, MessageBoxImage.Question); @@ -107,7 +107,7 @@ namespace mbts.spark { worders => worders.Any(), () => { var resp = BTSMessageBox.Show( - "Are you sure you want to cancel all working orders?", + "Are you sure you want to cancel ALL orders?", "Cancel All Orders", BTSMessageBoxButtons.Yes | BTSMessageBoxButtons.No, MessageBoxImage.Question);