diff options
author | Sebastian Kügler <sebas@kde.org> | 2016-01-12 03:01:15 +0100 |
---|---|---|
committer | Sebastian Kügler <sebas@kde.org> | 2016-01-12 03:06:09 +0100 |
commit | 142c8b218b1f9a4a3e217023531feedd7cf9713e (patch) | |
tree | 536de1f3dab5abc4de528ac905bcd51cb5a85113 /SupportedDivecomputers.txt | |
parent | ae0f680c6e9ffc7804b99fe5058ca7c135ce1e42 (diff) | |
download | subsurface-142c8b218b1f9a4a3e217023531feedd7cf9713e.tar.gz |
Fix bugs in edit drawer
- As the list may get reset on save, the dive_id effectively changes
since currentItem isn't updated. So after editing, we end up with a
different currentItem than visible. This is very unintuitive, but
has to do with the model resetting. It would result in the edit view not
showing the current dive when opened the second time. Let's make sure
that out currentItem is always the visible one before we're filling
the data into the edit page.
- Close the drawer when we're navigating away from the dive item, for
example when hitting the back button.
Signed-off-by: Sebastian Kügler <sebas@kde.org>
Diffstat (limited to 'SupportedDivecomputers.txt')
0 files changed, 0 insertions, 0 deletions