Berthold Stoeger 6288b2a619 cleanup: remove strange recursive code in MainTab::enableEdition
When enableEdition() was called with mode == NONE and the dive
was a manually added dive, it would call into MainWindow::
editCurrentDive(), which would in turn call enableEdition(),
however with another mode. Since the only caller of
enableEdition() is now editCurrentDive() anyway, we can
remove that weird code.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-04-07 00:13:35 +02:00
..
2020-02-27 14:49:01 -08:00
2019-11-16 08:32:07 -08:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2019-04-12 18:19:07 +03:00