aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-16 18:33:09 -0600
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-16 18:34:27 -0600
commit4a7432e3d512977437afa3933cc242b6410b468a (patch)
tree9e6a59e1d5443e8cc8594082c51d03281add58ac /qt-ui/simplewidgets.cpp
parent3766f57392bc8e315afe14b7640982e50cdd5529 (diff)
downloadsubsurface-4a7432e3d512977437afa3933cc242b6410b468a.tar.gz
Don't always clear the dive before selectively copying
This will be needed when pasting the data back into a (set of) dive(s). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r--qt-ui/simplewidgets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp
index a10092ff6..b0b900fe4 100644
--- a/qt-ui/simplewidgets.cpp
+++ b/qt-ui/simplewidgets.cpp
@@ -450,6 +450,6 @@ void DiveComponentSelection::buttonClicked(QAbstractButton *button)
COMPONENT_FROM_UI(suit);
COMPONENT_FROM_UI(cylinders);
COMPONENT_FROM_UI(weights);
- selective_copy_dive(&displayed_dive, targetDive, *what);
+ selective_copy_dive(&displayed_dive, targetDive, *what, true);
}
}