diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-03-13 21:56:41 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | b5daa8a3d8ee02d966bf5e5bc85d700722cabb57 (patch) | |
tree | 9b269773344f74b18061ae6e5ecc7178900589aa /desktop-widgets/updatemanager.cpp | |
parent | aac8eacfa2b4621efadf1fb2b6d255f69394be55 (diff) | |
download | subsurface-b5daa8a3d8ee02d966bf5e5bc85d700722cabb57.tar.gz |
Dive site: scroll to changed dive site
If the name of a dive site is edited, it might wander somewhere
else in the table and thus out of view. Hook into the "dive site
changed" signal and scroll there.
The code is rather subtle as it depends on signals being called
in a certain order: First the item is moved in the model, only
then can we scroll to the correct place.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/updatemanager.cpp')
0 files changed, 0 insertions, 0 deletions