mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
961fb39f9a
* Added persistent filters on exit * settings to disable the persistent filters * fixed a bug related to game comboBox and OnlyInstalled ( the comboBox is now disabled if OnlyInstalled is checked)
31 lines
841 B
C#
31 lines
841 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using ReactiveUI;
|
|
using Wabbajack.Lib;
|
|
|
|
namespace Wabbajack
|
|
{
|
|
public class SettingsVM : BackNavigatingVM
|
|
{
|
|
public MainWindowVM MWVM { get; }
|
|
public LoginManagerVM Login { get; }
|
|
public PerformanceSettings Performance { get; }
|
|
public FiltersSettings Filters { get; }
|
|
public AuthorFilesVM AuthorFile { get; }
|
|
|
|
public SettingsVM(MainWindowVM mainWindowVM)
|
|
: base(mainWindowVM)
|
|
{
|
|
MWVM = mainWindowVM;
|
|
Login = new LoginManagerVM(this);
|
|
Performance = mainWindowVM.Settings.Performance;
|
|
AuthorFile = new AuthorFilesVM(this);
|
|
Filters = mainWindowVM.Settings.Filters;
|
|
}
|
|
|
|
}
|
|
}
|