mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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.appendTextToLog("Save trip details triggered")
|
||||||
manager.updateTripDetails(tripId, tripLocationField.text, tripNotesField.text)
|
manager.updateTripDetails(tripId, tripLocationField.text, tripNotesField.text)
|
||||||
Qt.inputMethod.hide()
|
Qt.inputMethod.hide()
|
||||||
pageStack.pop("TripDetails")
|
pageStack.pop()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
property QtObject cancelAction: Kirigami.Action {
|
property QtObject cancelAction: Kirigami.Action {
|
||||||
|
@ -68,7 +68,7 @@ Kirigami.Page {
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
manager.appendTextToLog("Cancel trip details edit")
|
manager.appendTextToLog("Cancel trip details edit")
|
||||||
state = "view"
|
state = "view"
|
||||||
pageStack.pop("TripDetails")
|
pageStack.pop()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue