mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 10:33:25 +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
|
||||
divemaster = detailsEdit.divemasterText
|
||||
notes = detailsEdit.notesText
|
||||
diveDetailsWindow.viewEditText = "Edit"
|
||||
diveDetailsWindow.state = "view"
|
||||
} else {
|
||||
diveDetailsWindow.viewEditText = "Save"
|
||||
diveDetailsWindow.state = "edit"
|
||||
}
|
||||
contextDrawer.close()
|
||||
|
|
Loading…
Add table
Reference in a new issue