Undo: move selection function into command_private.cpp file

Undo of editing should probably also restore the old selection and
current dive. Therefore, move the functions that set and restore the
selection and the current dive from the command_divelist.cpp into the
command_private.cpp translation unit.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-02-17 10:18:00 +01:00 committed by Dirk Hohndel
parent 5436f9b859
commit ebfa366826
4 changed files with 144 additions and 116 deletions

View file

@ -66,6 +66,8 @@ set(SUBSURFACE_INTERFACE
command_divesite.h
command_edit.cpp
command_edit.h
command_private.cpp
command_private.h
configuredivecomputerdialog.cpp
configuredivecomputerdialog.h
divecomputermanagementdialog.cpp