mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
822eb7558d
commit
29f50c6aee
3 changed files with 44 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue