diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-05-03 16:04:34 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-03 14:17:47 -0700 |
commit | 8f8457ebe4b01b42bdb7545b7a782f35bf207134 (patch) | |
tree | b0405bf98cd8df08c4302c8f0bdc30f0829a5e6a /xslt | |
parent | 2a31203221ab1ff5592062c340e54f6b42695c85 (diff) | |
download | subsurface-8f8457ebe4b01b42bdb7545b7a782f35bf207134.tar.gz |
desktop: ask user when quitting application while planning
We used to cancel a plan (or profile edit) when the user quit
the application while planning. This is inconsistent with
respect to closing or opening a different log, where the user
was asked for confirmation.
Thus, for consistency and to avoid loss of a planned dive,
use the okToClose() function in on_actionClose_triggered() of
MainWindow. As an added bonus, this saves a few SLOC.
Fixes #1078
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'xslt')
0 files changed, 0 insertions, 0 deletions