forked from qt-creator/qt-creator
EffectMaker: Update changed effect to 2D/property views
The effect directory will be rescanned to update the types, and the puppet is reset if updated types are in use in the current document. If updated effect was also selected, selection is refreshed to update property view. Fixes: QDS-11367 Change-Id: I79cf476d8a70295f79525b6e1a5eeda27bb0b637 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
@@ -720,6 +720,8 @@ void EffectMakerModel::exportResources(const QString &name)
|
||||
if (!source.copyFile(target))
|
||||
qWarning() << __FUNCTION__ << " Failed to copy file: " << source;
|
||||
}
|
||||
|
||||
emit resourcesExported(QString("Effects.%1.%1").arg(name).toUtf8(), effectPath);
|
||||
}
|
||||
|
||||
void EffectMakerModel::resetEffectError(int type)
|
||||
|
||||
Reference in New Issue
Block a user