diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-02-27 22:08:20 +0100 |
---|---|---|
committer | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-07 00:13:35 +0200 |
commit | 6288b2a61915b36563f2415e8abadd2f5cc57424 (patch) | |
tree | 0b20bb98c7f619778f485cd5c2b45ee1011c3d20 /qt-models | |
parent | ee64a85d2e97c7f3d20de364ac908ac16fbfbc7a (diff) | |
download | subsurface-6288b2a61915b36563f2415e8abadd2f5cc57424.tar.gz |
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>
Diffstat (limited to 'qt-models')
0 files changed, 0 insertions, 0 deletions