summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-05 06:34:29 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-05 07:13:20 -0800
commitd643bde61a91b54f9107f0e2a81573533caf2471 (patch)
tree462d3ff869db0033f60008ce4a1710d533613b65 /qt-ui/maintab.h
parentdef9e3fc1bb2370c9f614edb8c5380aabed49ce2 (diff)
downloadsubsurface-d643bde61a91b54f9107f0e2a81573533caf2471.tar.gz
Always copy data in copy and paste mode
While in a multi dive edit we want to apply our usual semantics (only edit things that are the same as in the current dive), when doing an explicit copy and paste that doesn't seem to make sense. So we manually override that behavior. Fixes #753 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 47e57c2b0..541e3fb79 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -103,6 +103,7 @@ private:
DivePictureModel *divePictureModel;
Completers completers;
bool modified;
+ bool copyPaste;
void resetPallete();
void saveTags();
void updateGpsCoordinates(const struct dive *dive);