diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 91bd32bc..3aea04ec 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1654,8 +1654,8 @@ void MainWindow::paste() { } if (!newEvents.isEmpty()) { - editor->map->editHistory.push(new EventPaste(this->editor, editor->map, newEvents)); updateObjects(); + editor->map->editHistory.push(new EventPaste(this->editor, editor->map, newEvents)); } break; }