mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile: add ability to edit tags
We already showed the tags, but we didn't allow the user to edit them. This tries hard not to create inconsistent or illogical tags by trimming white space and being careful with how the tags are added. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
454207cd80
commit
9b669d91e0
5 changed files with 40 additions and 4 deletions
|
@ -22,6 +22,7 @@ Kirigami.Page {
|
|||
property alias divemasterIndex: detailsEdit.divemasterIndex
|
||||
property alias divemasterText: detailsEdit.divemasterText
|
||||
property alias divemasterModel: detailsEdit.divemasterModel
|
||||
property alias tagText: detailsEdit.tagText
|
||||
property alias depth: detailsEdit.depthText
|
||||
property alias duration: detailsEdit.durationText
|
||||
property alias location: detailsEdit.locationText
|
||||
|
@ -353,6 +354,7 @@ Kirigami.Page {
|
|||
suitIndex = manager.suitList.indexOf(modelData.suit)
|
||||
buddyText = modelData.buddy;
|
||||
divemasterText = modelData.diveMaster
|
||||
tagText = modelData.tags
|
||||
notes = modelData.notes
|
||||
if (modelData.singleWeight) {
|
||||
// we have only one weight, go ahead, have fun and edit it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue