diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-08-17 08:26:09 -0600 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-17 11:58:11 -0600 |
commit | 29f50c6aeeb31dfad7510d240e27905a9f62670d (patch) | |
tree | fb3315e456ad5470eb209cc1c24043636bd4bd0e /qt-ui/mainwindow.cpp | |
parent | 822eb7558dd7ab4c3dbb86b63be547cdbc2ebb47 (diff) | |
download | subsurface-29f50c6aeeb31dfad7510d240e27905a9f62670d.tar.gz |
Cut'n'paste for dive data: implement paste side
This should correctly set all the values and puts us in edit mode.
Testing so far looks good for both single dive and multiple dives selected
(i.e., you can paste into multiple dives).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 29212564b..9912d60bd 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -1314,4 +1314,6 @@ 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); + ui.InfoWidget->showAndTriggerEditSelective(what); } |