Commit d04d63d8 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Wizards: Add a command to trigger a reload of all wizards

This will make the custom and the json wizard scan for their files
the next time all wizards are requested.

Change-Id: Ibe1ed3f838d1c177e9bbf91ed0eae49028f671cd
Reviewed-by: default avatarEike Ziller <>
parent cbc0959e
......@@ -341,4 +341,9 @@ FeatureSet IWizardFactory::pluginFeatures() const
void IWizardFactory::initialize()
connect(ICore::instance(), &ICore::coreAboutToClose, &IWizardFactory::clearWizardFactories);
auto resetAction = new QAction(tr("Reload All Wizards"), ActionManager::instance());
ActionManager::registerAction(resetAction, "Wizard.Factory.Reset");
connect(resetAction, &QAction::triggered, &IWizardFactory::clearWizardFactories);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment