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