mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	FIX: fix display error when only ams2 exists
Change-Id: I6993b6681b403094d8ed242fbd3869ad19f834b9
This commit is contained in:
		
							parent
							
								
									5cedfe2216
								
							
						
					
					
						commit
						d42c8f58df
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -524,8 +524,8 @@ void MachineInfoPanel::update_ams(MachineObject *obj) | |||
|                         } | ||||
|                     } | ||||
|                 } else { | ||||
|                     std::string ams_id   = "ams/" + std::to_string(ams_index); | ||||
|                     auto        ver_item = obj->new_ver_list.find(ams_id); | ||||
|                     std::string ams_idx = (boost::format("ams/%1%") % ams_id).str(); | ||||
|                     auto        ver_item = obj->new_ver_list.find(ams_idx); | ||||
| 
 | ||||
|                     if (ver_item == obj->new_ver_list.end()) { | ||||
|                         amspanel->m_ams_new_version_img->Hide(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Stone Li
						Stone Li