From feab249bf27d8c36c48562076abad8e22e56f52f Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 8 Feb 2020 11:56:26 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveSummary.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mobile-widgets/qml/DiveSummary.qml') diff --git a/mobile-widgets/qml/DiveSummary.qml b/mobile-widgets/qml/DiveSummary.qml index 07939b48f..7eb8d254a 100644 --- a/mobile-widgets/qml/DiveSummary.qml +++ b/mobile-widgets/qml/DiveSummary.qml @@ -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 -- cgit v1.2.3-70-g09d2