diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index f6c182a55..08ce7fca7 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -1375,6 +1375,15 @@ bool QMLManager::undoDelete(int id) return true; } +void QMLManager::selectDive(int id) +{ + int i; + struct dive *dive = NULL; + + for_each_dive (i, dive) + dive->selected = (dive->id == id); +} + void QMLManager::deleteDive(int id) { struct dive *d = get_dive_by_uniq_id(id); |