From 16c4dd4a768ed80cc3016d2ee365d30152819126 Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Thu, 30 Sep 2021 16:18:58 -0600 Subject: [PATCH] Wire in some missing mappings --- Wabbajack.App/Screens/LauncherView.axaml.cs | 7 +++++++ Wabbajack.App/Screens/LauncherViewModel.cs | 1 + 2 files changed, 8 insertions(+) diff --git a/Wabbajack.App/Screens/LauncherView.axaml.cs b/Wabbajack.App/Screens/LauncherView.axaml.cs index b37b41e5..96f4477c 100644 --- a/Wabbajack.App/Screens/LauncherView.axaml.cs +++ b/Wabbajack.App/Screens/LauncherView.axaml.cs @@ -17,6 +17,13 @@ namespace Wabbajack.App.Screens this.OneWayBind(ViewModel, vm => vm.Image, view => view.ModListImage.Source) .DisposeWith(disposables); + this.OneWayBind(ViewModel, vm => vm.Title, view => view.ModList.Text) + .DisposeWith(disposables); + + this.OneWayBind(ViewModel, vm => vm.InstallFolder, view => view.InstallPath.Text, + v => v.ToString()) + .DisposeWith(disposables); + this.BindCommand(ViewModel, vm => vm.PlayButton, view => view.PlayGame.Button) .DisposeWith(disposables); }); diff --git a/Wabbajack.App/Screens/LauncherViewModel.cs b/Wabbajack.App/Screens/LauncherViewModel.cs index 86eb5447..cde96f2d 100644 --- a/Wabbajack.App/Screens/LauncherViewModel.cs +++ b/Wabbajack.App/Screens/LauncherViewModel.cs @@ -24,6 +24,7 @@ namespace Wabbajack.App.Screens { public class LauncherViewModel : ViewModelBase, IActivatableViewModel, IReceiver { + [Reactive] public AbsolutePath InstallFolder { get; set; }