mirror of
				https://github.com/WarrenHood/MCModpackManager.git
				synced 2025-11-04 01:38:41 +00: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