From 4bee6d8b39fe3edb3d02ceb9327f73cccf52fafb Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Wed, 9 Oct 2024 07:24:23 -0300 Subject: Add refresh button --- kodereviewer/qml/ProjectListPage.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'kodereviewer/qml') diff --git a/kodereviewer/qml/ProjectListPage.qml b/kodereviewer/qml/ProjectListPage.qml index f156dc1..b4e37de 100644 --- a/kodereviewer/qml/ProjectListPage.qml +++ b/kodereviewer/qml/ProjectListPage.qml @@ -41,6 +41,17 @@ Kirigami.ScrollablePage { title: "Pull Requests" actions: [ + Kirigami.Action { + id: refreshAction + icon.name: "view-refresh" + shortcut: Shortcut { + sequence: "F5" + onActivated: { + refreshAction.trigger() + } + } + onTriggered: connection.getPullRequests() + }, Kirigami.Action { id: searchAction icon.name: "search" -- cgit v1.2.3-70-g09d2