mirror of
https://github.com/WarrenHood/MCModpackManager.git
synced 2025-04-29 18:44: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> {
|
||||
match message {
|
||||
Message::SwitchView(view) => {
|
||||
self.current_install_status = ProfileInstallStatus::NotStarted;
|
||||
match &view {
|
||||
ManagerView::AddProfile => {
|
||||
self.profile_save_error = None;
|
||||
|
|
Loading…
Reference in a new issue