diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-02-23 18:17:20 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | 73a230b6e652f4bba1bf08cb21fec112a968ff0d (patch) | |
tree | 118337e811dd93540894d43de7b88eb825d0c125 /desktop-widgets/mainwindow.cpp | |
parent | 92e6e2bba17ae91e1f8e5d63154323586f6ea5a2 (diff) | |
download | subsurface-73a230b6e652f4bba1bf08cb21fec112a968ff0d.tar.gz |
Cleanup: remove EDIT_TEXT and EDIT_VALUE macros in maintab.cpp
These functions are now performed by the edit commands and the
macros have no users. Remove them.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
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() |