diff options
author | Matias Linares <matias.linares@comprandoengrupo.net> | 2024-10-09 07:24:23 -0300 |
---|---|---|
committer | Matias Linares <matias.linares@comprandoengrupo.net> | 2024-10-09 07:24:23 -0300 |
commit | 4bee6d8b39fe3edb3d02ceb9327f73cccf52fafb (patch) | |
tree | e9f1ca1232bc4795d7adea70caa87903b32febeb /kodereviewer | |
parent | 485ffc99609194a6a8ce33c5cf9d5ed4e6f477c7 (diff) | |
download | kodereviewer-4bee6d8b39fe3edb3d02ceb9327f73cccf52fafb.tar.gz |
Add refresh button
Diffstat (limited to 'kodereviewer')
-rw-r--r-- | kodereviewer/qml/ProjectListPage.qml | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ -42,6 +42,17 @@ Kirigami.ScrollablePage { 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" shortcut: Shortcut { |