mirror of
https://github.com/WarrenHood/MCModpackManager.git
synced 2025-04-29 23:04:58 +01:00
Clear current install status when switching views
This commit is contained in:
parent
05cfb761a9
commit
042bfb8baa
|
@ -134,6 +134,7 @@ impl Application for ManagerGUI {
|
||||||
fn update(&mut self, message: Message) -> Command<Message> {
|
fn update(&mut self, message: Message) -> Command<Message> {
|
||||||
match message {
|
match message {
|
||||||
Message::SwitchView(view) => {
|
Message::SwitchView(view) => {
|
||||||
|
self.current_install_status = ProfileInstallStatus::NotStarted;
|
||||||
match &view {
|
match &view {
|
||||||
ManagerView::AddProfile => {
|
ManagerView::AddProfile => {
|
||||||
self.profile_save_error = None;
|
self.profile_save_error = None;
|
||||||
|
|
Loading…
Reference in a new issue