forked from qt-creator/qt-creator
EffectComposer: Prevent overwriting when creating a new composition
Task-number: QDS-12144 Change-Id: Ie54ef39172969c9bfb008d70169a439b992f52fd 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:
@@ -90,7 +90,7 @@ StudioControls.Dialog {
|
|||||||
EffectComposerBackend.effectComposerModel.saveComposition(nameText.text)
|
EffectComposerBackend.effectComposerModel.saveComposition(nameText.text)
|
||||||
|
|
||||||
if (root.clearOnClose) {
|
if (root.clearOnClose) {
|
||||||
EffectComposerBackend.effectComposerModel.clear()
|
EffectComposerBackend.effectComposerModel.clear(true)
|
||||||
root.clearOnClose = false
|
root.clearOnClose = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user