aboutsummaryrefslogtreecommitdiffstats
path: root/Readme.ubuntu
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-30 09:43:18 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-31 08:42:20 -0700
commit085b5ff0dbe34f355dd8012e8a76c4d6e9aa0aec (patch)
tree2b1cf701529ef816196e9ee0144745a1efabe7dd /Readme.ubuntu
parent716c3c3ed52916abcb47ba24802b0581e0517fa0 (diff)
downloadsubsurface-085b5ff0dbe34f355dd8012e8a76c4d6e9aa0aec.tar.gz
mobile: improve Android back key behavior
There are two places where we try to prevemt unintended app exits. Once, in the onBackRequested signal handler on the dive list. This was missing special handling for the situation where one of the drawers was open. The second place is the onClosing signal handler in main.qml. Naively I thought that this was enough to catch all cases where we were about to exit the app, but apparently an explicit manager.quit() is a bit too forceful and doesn't get to that signal handler. With this commit we check for open drawers in both places. Belts and suspenders, I guess. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Readme.ubuntu')
0 files changed, 0 insertions, 0 deletions