mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/summary: add refresh button
On tablet devices, the summary page stays open and therefore the summary is not refreshed. For now, add a button. Later, this should be connected to signals when dives are edited, added or deleted. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a93c303b8b
commit
feab249bf2
1 changed files with 4 additions and 2 deletions
|
@ -88,9 +88,11 @@ Kirigami.ScrollablePage {
|
||||||
Layout.columnSpan: 3
|
Layout.columnSpan: 3
|
||||||
}
|
}
|
||||||
|
|
||||||
TemplateLabel {
|
TemplateButton {
|
||||||
text: ""
|
/* Replace by signals from the core in due course. */
|
||||||
|
text: "Refresh"
|
||||||
width: headerColumnWidth
|
width: headerColumnWidth
|
||||||
|
onClicked: reload()
|
||||||
}
|
}
|
||||||
TemplateComboBox {
|
TemplateComboBox {
|
||||||
id: selectionPrimary
|
id: selectionPrimary
|
||||||
|
|
Loading…
Add table
Reference in a new issue