summaryrefslogtreecommitdiffstats
path: root/color.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-09 21:32:38 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-09 21:32:38 -0800
commit7cb307cf73c2662dac5a3e03a66fdb878d26e432 (patch)
tree6b470f3837664b0b17d5431f062b07c2700b1157 /color.h
parentfd997c1b15e798bdf2aa1088e0c58467793a511d (diff)
downloadsubsurface-7cb307cf73c2662dac5a3e03a66fdb878d26e432.tar.gz
Don't crash when restoring the selection
If we end up trying to restore the selection where the selected dive is no longer visible (i.e., it's now filtered away), this code caused a crash by falling first() on an empty list. Let's not do that. Fixes #758
Diffstat (limited to 'color.h')
0 files changed, 0 insertions, 0 deletions