Fix incorrect display of selected level 3 product due to updating UI on multiple threads

This commit is contained in:
Dan Paulat 2023-04-11 23:12:00 -05:00
parent 6c7a02ff85
commit 4e4cc4c9fb

View file

@ -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)
{