subsurface/desktop-widgets
Berthold Stoeger 9bbd8b8169 desktop: remove unused if-branch in MainWindow::editCurrentDive()
MainWindow::editCurrentDive() used to be a general function to enter
edit mode. Nowadays, this is only called for one very specific case,
namely editing the profile of a manually added dive. Therefore, we
can remove the if-branch that dealt with planned dives.

Moreover, we can do the test right at the beginning and remove
a warning message for duplicate "edition", as this is not
possible anymore.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-05-04 10:42:07 +02:00
..
2015-10-30 10:36:49 -07:00
2020-03-22 12:01:59 -07: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
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