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
|
#### Version TBD
|
||||||
* Fixed issues related to high RAM usage
|
* 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
|
* 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
|
* 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
|
* 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
|
* Fixed readme double opening when modlist details are prepoulated
|
||||||
|
@ -39,6 +39,11 @@ namespace Wabbajack
|
|||||||
.BindToStrict(this, view => view.BackButton.Command)
|
.BindToStrict(this, view => view.BackButton.Command)
|
||||||
.DisposeWith(disposables);
|
.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)
|
ViewModel.WhenAnyValue(vm => vm.OpenReadmeCommand)
|
||||||
.BindToStrict(this, view => view.OpenReadmePreInstallButton.Command)
|
.BindToStrict(this, view => view.OpenReadmePreInstallButton.Command)
|
||||||
.DisposeWith(disposables);
|
.DisposeWith(disposables);
|
||||||
|
@ -118,7 +118,12 @@ namespace Wabbajack
|
|||||||
|
|
||||||
((MainWindowVM) DataContext).WhenAnyValue(vm => vm.OpenSettingsCommand)
|
((MainWindowVM) DataContext).WhenAnyValue(vm => vm.OpenSettingsCommand)
|
||||||
.BindTo(this, view => view.SettingsButton.Command);
|
.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)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user