mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 13:20:06 +00:00 
			
		
		
		
	Fix incorrect display of selected level 3 product due to updating UI on multiple threads
This commit is contained in:
		
							parent
							
								
									6c7a02ff85
								
							
						
					
					
						commit
						4e4cc4c9fb
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -258,8 +258,7 @@ void Level3ProductsWidgetImpl::UpdateCategorySelection( | ||||||
| { | { | ||||||
|    const std::string& categoryName = common::GetLevel3CategoryName(category); |    const std::string& categoryName = common::GetLevel3CategoryName(category); | ||||||
| 
 | 
 | ||||||
|    std::for_each(std::execution::par_unseq, |    std::for_each(categoryButtons_.cbegin(), | ||||||
|                  categoryButtons_.cbegin(), |  | ||||||
|                  categoryButtons_.cend(), |                  categoryButtons_.cend(), | ||||||
|                  [&](auto& toolButton) |                  [&](auto& toolButton) | ||||||
|                  { |                  { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat