diff options
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index a181a8ceb..95b714d00 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -1802,9 +1802,7 @@ void MainWindow::on_copy_triggered() void MainWindow::on_paste_triggered() { - // take the data in our copyPasteDive and apply it to selected dives - selective_copy_dive(©PasteDive, &displayed_dive, what, false); - mainTab->showAndTriggerEditSelective(what); + Command::pasteDives(©PasteDive, what); } void MainWindow::on_actionFilterTags_triggered() |