Changeset View
Changeset View
Standalone View
Standalone View
src/timeline2/model/timelinefunctions.cpp
Context not available. | |||||
68 | std::function<bool(void)> redo = []() { return true; }; | 68 | std::function<bool(void)> redo = []() { return true; }; | ||
---|---|---|---|---|---|
69 | Updates list; | 69 | Updates list; | ||
70 | 70 | | |||
71 | qDebug()<<"* * *MULTIPLE CLIP INSERTION START"; | ||||
71 | for (const QString &binId : binIds) { | 72 | for (const QString &binId : binIds) { | ||
72 | int clipId; | 73 | int clipId; | ||
73 | if (timeline->requestClipInsertion(binId, trackId, position, clipId, logUndo, refreshView, true, undo, redo, list)) { | 74 | if (timeline->requestClipInsertion(binId, trackId, position, clipId, logUndo, refreshView, true, undo, redo, list)) { | ||
Context not available. | |||||
79 | return false; | 80 | return false; | ||
80 | } | 81 | } | ||
81 | } | 82 | } | ||
83 | qDebug()<<"* * *MULTIPLE CLIP INSERTION DONE"; | ||||
82 | 84 | | |||
83 | ModelUpdater::applyUpdates(undo, redo, list); | 85 | ModelUpdater::applyUpdates(undo, redo, list); | ||
86 | qDebug()<<"* * *MULTIPLE CLIP INSERTION DONE UPDATING"; | ||||
84 | if (logUndo) { | 87 | if (logUndo) { | ||
85 | pCore->pushUndo(undo, redo, i18n("Insert Clips")); | 88 | pCore->pushUndo(undo, redo, i18n("Insert Clips")); | ||
86 | } | 89 | } | ||
Context not available. |