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:
Berthold Stoeger 2020-02-08 11:56:26 +01:00 committed by Dirk Hohndel
parent a93c303b8b
commit feab249bf2

View file

@ -88,9 +88,11 @@ Kirigami.ScrollablePage {
Layout.columnSpan: 3
}
TemplateLabel {
text: ""
TemplateButton {
/* Replace by signals from the core in due course. */
text: "Refresh"
width: headerColumnWidth
onClicked: reload()
}
TemplateComboBox {
id: selectionPrimary