fix: Set vs window title to vs name in main win

Was only doing this in the 'dummy' window before
This commit is contained in:
John Colvin committed 2022-02-21 12:58:25 -05:00
1 parent 552836eafc
commit 2229abdc36
1 file changed
+2 -1
@@ -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);