Move marker undo code to seperate file

This commit is contained in:
Thomas Wilshaw
2021-10-22 22:15:55 +01:00
parent 2840f957bd
commit 7af6f85a7c
7 changed files with 142 additions and 92 deletions
+2 -1
View File
@@ -16,6 +16,7 @@
#include "markercopypaste.h"
#include "core.h"
#include "markerundo.h"
#include "widget/timebased/timebasedwidget.h"
namespace olive {
@@ -108,7 +109,7 @@ void MarkerCopyPasteService::PasteMarkersFromClipboard(TimelineMarkerList* list,
}
}
command->add_child(new TimeBasedWidget::MarkerAddCommand(Core::instance()->GetActiveProject(),
command->add_child(new MarkerAddCommand(Core::instance()->GetActiveProject(),
list,
TimeRange(in + offset, out + offset),
name,