diff --git a/plasmoid/contents/ui/main.qml b/plasmoid/contents/ui/main.qml index 4a4692b..3e233a2 100644 --- a/plasmoid/contents/ui/main.qml +++ b/plasmoid/contents/ui/main.qml @@ -83,6 +83,18 @@ Item { Layout.fillWidth: true text: stack.currentPage.title } + PlasmaComponents3.ToolButton { + visible: stack.depth === 1 + icon.name: "view-refresh" + onClicked: { + timer.restart(); + root.refresh(); + } + + PlasmaComponents3.ToolTip { + text: "Refresh the data" + } + } PlasmaComponents3.ToolButton { visible: stack.depth > 1 icon.name: "draw-arrow-back"