mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
mobile/cleanup: pageStack.pop() doesn't take a string argument
This happens to do the expected thing, anyway, but let's not keep this broken code around. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0301fc6905
commit
241d378f14
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ Kirigami.Page {
|
|||
manager.appendTextToLog("Save trip details triggered")
|
||||
manager.updateTripDetails(tripId, tripLocationField.text, tripNotesField.text)
|
||||
Qt.inputMethod.hide()
|
||||
pageStack.pop("TripDetails")
|
||||
pageStack.pop()
|
||||
}
|
||||
}
|
||||
property QtObject cancelAction: Kirigami.Action {
|
||||
|
@ -68,7 +68,7 @@ Kirigami.Page {
|
|||
onTriggered: {
|
||||
manager.appendTextToLog("Cancel trip details edit")
|
||||
state = "view"
|
||||
pageStack.pop("TripDetails")
|
||||
pageStack.pop()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue