mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 12:53:23 +00:00
QML UI: update context menu text
The automagic update gets disabled once we overwrite the text with "Save" at some point, so instead we appear to have to do this manually. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a0aa27e864
commit
37c74b5c2f
1 changed files with 2 additions and 0 deletions
|
@ -66,8 +66,10 @@ MobileComponents.Page {
|
||||||
buddy = detailsEdit.buddyText
|
buddy = detailsEdit.buddyText
|
||||||
divemaster = detailsEdit.divemasterText
|
divemaster = detailsEdit.divemasterText
|
||||||
notes = detailsEdit.notesText
|
notes = detailsEdit.notesText
|
||||||
|
diveDetailsWindow.viewEditText = "Edit"
|
||||||
diveDetailsWindow.state = "view"
|
diveDetailsWindow.state = "view"
|
||||||
} else {
|
} else {
|
||||||
|
diveDetailsWindow.viewEditText = "Save"
|
||||||
diveDetailsWindow.state = "edit"
|
diveDetailsWindow.state = "edit"
|
||||||
}
|
}
|
||||||
contextDrawer.close()
|
contextDrawer.close()
|
||||||
|
|
Loading…
Add table
Reference in a new issue