From 5cdd99723d1bf5a6ec7d79b9947a24f10d0dc3ae Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Sat, 21 May 2022 11:24:15 -0600 Subject: [PATCH] Go back button in browser --- Wabbajack.App.Wpf/Views/BrowserWindow.xaml.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Wabbajack.App.Wpf/Views/BrowserWindow.xaml.cs b/Wabbajack.App.Wpf/Views/BrowserWindow.xaml.cs index 08e20399..7ecc8d34 100644 --- a/Wabbajack.App.Wpf/Views/BrowserWindow.xaml.cs +++ b/Wabbajack.App.Wpf/Views/BrowserWindow.xaml.cs @@ -48,6 +48,11 @@ public partial class BrowserWindow : MetroWindow Clipboard.SetText(vm.Address.ToString()); }); + this.BackButton.Command = ReactiveCommand.Create(() => + { + Browser.GoBack(); + }); + vm.RunWrapper(CancellationToken.None) .ContinueWith(_ => Dispatcher.Invoke(Close)); }