forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user