summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp4
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(&copyPasteDive, &displayed_dive, what, false);
- mainTab->showAndTriggerEditSelective(what);
+ Command::pasteDives(&copyPasteDive, what);
}
void MainWindow::on_actionFilterTags_triggered()