gui: clipboard CUT and COPY store same data with/without label
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 12 Jul 2020 18:59:35 +0000 (20:59 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 12 Jul 2020 18:59:35 +0000 (20:59 +0200)
commit1442abd35fe6f3087bdb14fe5c65437404cc4ae8
tree8ae34466375304c2ce142ed943f19d43aa0df0be
parent36c0d2ad88eb077c1cf411f7ba7061a8e65688fe
gui: clipboard CUT and COPY store same data with/without label

clipboard store data with or without value labels depending on
the setting in the data view. clipboard cut was always storing
the raw data.
With this patch copy and cut both store raw data or labels
depending on the view setting.

Closes: https://savannah.gnu.org/bugs/?58757
src/ui/gui/psppire-data-editor.c
src/ui/gui/psppire-data-editor.h
src/ui/gui/psppire-data-window.c