summaryrefslogtreecommitdiffstats
path: root/save-xml.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 07:28:25 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 07:34:14 -0700
commitd8673f986703439ceee6b037c14ff10526e6714a (patch)
tree78c62afe70ab8c23ea230b7243d39b5765d3fbf8 /save-xml.c
parent375faa5cff7f220842491333aa222255be48588e (diff)
downloadsubsurface-d8673f986703439ceee6b037c14ff10526e6714a.tar.gz
Calm down the Globe widget
This addresses two issues: - the kMessageWidget did not word wrap, so if it was wider then the Globe widget the Globe would expand (and divelist shrink) when the user switched from a dive with location to a dive without location - the code was also too aggressive removing and redrawing the message widget when switching from dive to dive. with this change we only hide the widget if the next dive has a location (and only show it if it isn't shown already). We also hide the message if no dive is selected. Reported-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-xml.c')
0 files changed, 0 insertions, 0 deletions