Removed vestigial MainWindowVM.ViewDispatcher

This commit is contained in:
Justin Swanson 2019-12-27 16:24:35 -06:00
parent 6c4fbc8476
commit 507c71d1d8

View File

@ -40,11 +40,8 @@ namespace Wabbajack
public readonly UserInterventionHandlers UserInterventionHandlers;
public readonly LoginManagerVM LoginManagerVM;
public readonly List<ViewModel> NavigationTrail = new List<ViewModel>();
public Dispatcher ViewDispatcher { get; set; }
public ICommand CopyVersionCommand { get; }
public ICommand ShowLoginManagerVM { get; }
@ -54,7 +51,6 @@ namespace Wabbajack
public MainWindowVM(MainWindow mainWindow, MainSettings settings)
{
MainWindow = mainWindow;
ViewDispatcher = MainWindow.Dispatcher;
Settings = settings;
Installer = new Lazy<InstallerVM>(() => new InstallerVM(this));
Compiler = new Lazy<CompilerVM>(() => new CompilerVM(this));