EffectComposer: Fix clearing effect name upon starting a new project

Fixes: QDS-11780
Change-Id: I89a1d39a3dab18992b5fa8fae3f1340d42becac1
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
Mahmoud Badri
2024-01-26 16:22:10 +02:00
parent 33bbab25b6
commit 555552e10e

View File

@@ -84,7 +84,7 @@ void EffectComposerView::modelAttached(QmlDesigner::Model *model)
// if starting a new project, clear the effect composer
if (m_currProjectPath != currProjectPath)
m_widget->effectComposerModel()->clear();
m_widget->effectComposerModel()->clear(true);
m_currProjectPath = currProjectPath;