mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:40:05 +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);
|
||||
|
||||
std::for_each(std::execution::par_unseq,
|
||||
categoryButtons_.cbegin(),
|
||||
std::for_each(categoryButtons_.cbegin(),
|
||||
categoryButtons_.cend(),
|
||||
[&](auto& toolButton)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue