subsurface/qt-mobile
Sebastian Kügler 142c8b218b 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>
2016-01-12 03:06:09 +01:00
..
qml Fix bugs in edit drawer 2016-01-12 03:06:09 +01:00
qmlmanager.cpp Random whitespace cleanup 2016-01-11 06:14:45 -08:00
qmlmanager.h Random whitespace cleanup 2016-01-11 06:14:45 -08:00
qmlprofile.cpp QML UI: make profile margin scale proportional to dimensions 2016-01-04 10:00:44 -08:00
qmlprofile.h QML UI: obtain a reasonable margin from QML 2015-12-29 09:50:47 -08:00