McuSupport: Fix path to QtMCUs not changing

This change will prevent creating a second fileChooser when parsing
QtMCUs package.

Task-number: UL-6612
Change-Id: Ib63ae77a051122ff2ba8656dedbe7ee6fd43e499
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Yasser Grimes
2022-10-12 18:23:20 +03:00
parent 5b3efd61c7
commit b587110cf0

View File

@@ -257,9 +257,9 @@ void McuSupportOptionsWidget::showMcuTargetPackages()
}
for (const auto &package : std::as_const(m_options.sdkRepository.packages)) {
QWidget *packageWidget = package->widget();
if (!mcuTarget->packages().contains(package) || package->label().isEmpty())
continue;
QWidget *packageWidget = package->widget();
m_packagesLayout->addRow(package->label(), packageWidget);
packageWidget->show();
}