psppire: Deal properly with inverted variable selections.
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 31 May 2020 11:31:45 +0000 (13:31 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 31 May 2020 11:31:45 +0000 (13:31 +0200)
commit56e6166660c0f1388cad4cb4d3189e026bc84dd5
treec11e67f75dea96427519cab1774b96ad50193204
parente870838d34e5e0133997434d27035054c605fb4f
psppire: Deal properly with inverted variable selections.

When deleting variables, if the start of a selected range is greater
than the end of the range, then swap the start and end.
src/ui/gui/psppire-data-editor.c
src/ui/gui/psppire-data-sheet.c
src/ui/gui/psppire-variable-sheet.c