subsurface/desktop-widgets
Berthold Stoeger 8f8457ebe4 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>
2020-05-03 14:17:47 -07:00
..
2015-10-30 10:36:49 -07:00
2020-03-22 12:01:59 -07:00
2020-05-02 14:52:51 +02:00
2017-04-29 13:32:55 -07:00
2017-11-30 23:14:46 -08:00
2020-04-19 14:27:54 -07:00
2020-01-24 09:51:02 -08:00
2020-03-19 08:37:59 -07:00
2020-04-19 14:27:54 -07:00
2020-04-19 14:27:54 -07:00
2015-10-30 10:36:49 -07:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2015-10-30 10:36:49 -07:00
2017-11-30 23:14:46 -08:00