summaryrefslogtreecommitdiff
path: root/kodereviewer
diff options
context:
space:
mode:
authorMatias Linares <matias.linares@comprandoengrupo.net>2024-10-09 07:24:23 -0300
committerMatias Linares <matias.linares@comprandoengrupo.net>2024-10-09 07:24:23 -0300
commit4bee6d8b39fe3edb3d02ceb9327f73cccf52fafb (patch)
treee9f1ca1232bc4795d7adea70caa87903b32febeb /kodereviewer
parent485ffc99609194a6a8ce33c5cf9d5ed4e6f477c7 (diff)
downloadkodereviewer-4bee6d8b39fe3edb3d02ceb9327f73cccf52fafb.tar.gz
Add refresh button
Diffstat (limited to 'kodereviewer')
-rw-r--r--kodereviewer/qml/ProjectListPage.qml11
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 {