summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/undocommands.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-21 12:17:24 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-23 11:49:30 -0700
commit99261775ceede62e19422f6c909439a619d65ee0 (patch)
tree21c4e746c5cc976fdb1b10b8cf13f4c0c4442701 /desktop-widgets/undocommands.cpp
parente2ee8c57dfd85d26c3697f5c5f0e7f45e462be1e (diff)
downloadsubsurface-99261775ceede62e19422f6c909439a619d65ee0.tar.gz
Desktop/remember DCs: remember dive computers that were used
The algorithm tries to keep the order of the buttons the same. So if a dive computer was used that's already remembered, don't reorder the buttons. But if a new dive computer is used, add it as the first one and move the others back, potentially dropping the oldest one. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/undocommands.cpp')
0 files changed, 0 insertions, 0 deletions