aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/filterwidget2.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-11-13 20:53:10 +0100
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2019-11-14 09:37:27 +0100
commitb43ecdad4ed956a3075ecb55aed4497217d011d9 (patch)
treef37a0406a16eb93399cc706456dbfa3fa408f658 /desktop-widgets/filterwidget2.h
parent8db3e5cd59514db8ed4521fa767f482de83c4815 (diff)
downloadsubsurface-b43ecdad4ed956a3075ecb55aed4497217d011d9.tar.gz
Undo: don't delete dive sites when pasting dives
We used to only keep sites with dives around. This changed when implementing the dive site tab. The paste-dive code was written using the old semantics and thus, when overwriting dive sites, it deleted unused dive sites. To make things consistent, remove that code. It would be very weird when dive sites are deleted by pasting, but not by setting a different dive site manually. Bonus: no more dependencies on desktop-includes in the undo code. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/filterwidget2.h')
0 files changed, 0 insertions, 0 deletions