subsurface/qt-mobile
Dirk Hohndel 2bf6f4e45d QML UI: ensure that after a dive edit the profile is redrawn
Normally this is triggered when the DiveDetailsView component is
completed, but since QML isn't recreating this component unless we switch
to a dive a couple of spots in the dive list away from this one, we
wouldn't get any changes in the data reflected in the profile.

But since this now redraws the same dive that potentially was drawn last,
we need to make sure we call plotDive() with force=true.

I also suspect that this could help with the strange bug that sometimes we
show a blank profile after certain edits.

See #1013

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-02-28 16:46:50 +01:00
..
qml QML UI: ensure that after a dive edit the profile is redrawn 2016-02-28 16:46:50 +01:00
qmlmanager.cpp QML UI: we no longer use the return value of commitChanges() 2016-02-28 15:45:26 +01:00
qmlmanager.h QML UI: we no longer use the return value of commitChanges() 2016-02-28 15:45:26 +01:00
qmlprofile.cpp QML UI: ensure that after a dive edit the profile is redrawn 2016-02-28 16:46:50 +01:00
qmlprofile.h try to fix profile scaling 2016-01-13 16:27:41 -08:00