forked from qt-creator/qt-creator
QmlDesigner: Do not show MCU support related wizards
If detailsPageQmlPath is empty it is not one of our wizards. Task-number: QDS-13210 Change-Id: I9c00e92e176eb8a26acd3cc1ed36d94d913cc7bb Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -49,7 +49,7 @@ void WizardFactories::sortByCategoryAndId()
|
||||
void WizardFactories::filter()
|
||||
{
|
||||
QList<JsonWizardFactory *> acceptedFactories = Utils::filtered(m_factories, [&](auto *wizard) {
|
||||
return wizard->isAvailable(m_platform)
|
||||
return wizard->isAvailable(m_platform) && !wizard->detailsPageQmlPath().isEmpty()
|
||||
&& wizard->kind() == JsonWizardFactory::ProjectWizard;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user