From 2229abdc362ceca7469e23e247fa9a9be9d99443 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Mon, 21 Feb 2022 12:58:25 -0500 Subject: [PATCH] fix: Set vs window title to vs name in main win Was only doing this in the 'dummy' window before --- .../spark/Modules/Analytics/VolSurface/VolSurfaceWindow.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/spark/Modules/Analytics/VolSurface/VolSurfaceWindow.cs b/src/client/spark/Modules/Analytics/VolSurface/VolSurfaceWindow.cs index 8e831b958..2f80a8140 100644 --- a/src/client/spark/Modules/Analytics/VolSurface/VolSurfaceWindow.cs +++ b/src/client/spark/Modules/Analytics/VolSurface/VolSurfaceWindow.cs @@ -8,6 +8,7 @@ using mbts.ui.shell; using System; + using System.Reactive.Linq; using System.Windows; using System.Windows.Controls; @@ -54,7 +55,7 @@ DataContext = _vm } }; - + hooks += this.observe_title().OnDispatcher().Subscribe(title => _main_win.Title = title); hooks += _main_win.SubscribeClosed((s, e) => { Disposable.dispose(ref hooks); _bus.post(SparkTags.hide_window, this);