diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-12-11 09:50:38 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-11 08:31:57 -0500 |
commit | 7e12ac262b35bcab05bc4a7e69d8572cba5b7ef1 (patch) | |
tree | 569e70caa590bee9057f33f5fcc669b40ef4d26d /scripts | |
parent | 37b24857ed6a95c7017e443adc88fa8c4dea0c1a (diff) | |
download | subsurface-7e12ac262b35bcab05bc4a7e69d8572cba5b7ef1.tar.gz |
Dive list: implement DiveTripModelBase::reset()
On desktop, resetting the model is realized by generating a new
model object. This is due to the fact that we have two different
models (tree and list) and for switching between those, we have
to create a new object.
On mobile, currently there are no plans to support the list-mode.
Therefore, there is no reason the recreate the object. Instead,
implement a reset() function that reloads the core data.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions