mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Hide back button and settings button during install (#2368)
* hide back button and settings button during install phase, so that user does not press back or settings( and then back to main screen again ) while a download thread still runs in th ebackground * updated changelog --------- Co-authored-by: Timothy Baldridge <tbaldridge@gmail.com>
This commit is contained in:
parent
79cd780430
commit
005466e53b
@ -3,6 +3,7 @@
|
||||
#### Version TBD
|
||||
* Fixed issues related to high RAM usage
|
||||
* The resumable downloads now reserve drive space to write to in advance instead of being managed in system RAM
|
||||
* Fixed allowing back button during install which can result in multiple install processes
|
||||
* fixed search filter not applying when pressing back button and reaccessing gallery
|
||||
* Added more robust checking for protected location paths and subfolders for the launcher exe and install and download paths
|
||||
* Fixed readme double opening when modlist details are prepoulated
|
||||
|
@ -39,6 +39,11 @@ namespace Wabbajack
|
||||
.BindToStrict(this, view => view.BackButton.Command)
|
||||
.DisposeWith(disposables);
|
||||
|
||||
ViewModel.WhenAnyValue(vm => vm.InstallState)
|
||||
.Select(v => v == InstallState.Installing ? Visibility.Collapsed : Visibility.Visible)
|
||||
.BindToStrict(this, view => view.BackButton.Visibility)
|
||||
.DisposeWith(disposables);
|
||||
|
||||
ViewModel.WhenAnyValue(vm => vm.OpenReadmeCommand)
|
||||
.BindToStrict(this, view => view.OpenReadmePreInstallButton.Command)
|
||||
.DisposeWith(disposables);
|
||||
|
@ -118,7 +118,12 @@ namespace Wabbajack
|
||||
|
||||
((MainWindowVM) DataContext).WhenAnyValue(vm => vm.OpenSettingsCommand)
|
||||
.BindTo(this, view => view.SettingsButton.Command);
|
||||
|
||||
|
||||
((MainWindowVM)DataContext).WhenAnyValue(vm => vm.Installer.InstallState)
|
||||
.ObserveOn(RxApp.MainThreadScheduler)
|
||||
.Select(v => v == InstallState.Installing ? Visibility.Collapsed : Visibility.Visible)
|
||||
.BindTo(this, view => view.SettingsButton.Visibility);
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user