summaryrefslogtreecommitdiff
path: root/kodereviewer/qml/ProjectListPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'kodereviewer/qml/ProjectListPage.qml')
-rw-r--r--kodereviewer/qml/ProjectListPage.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kodereviewer/qml/ProjectListPage.qml b/kodereviewer/qml/ProjectListPage.qml
index 334799e..7ffa8b9 100644
--- a/kodereviewer/qml/ProjectListPage.qml
+++ b/kodereviewer/qml/ProjectListPage.qml
@@ -14,7 +14,7 @@ Kirigami.Page {
required property NetworkManager connection
required property Project project
-
+ signal pullRequestSelected(var pullRequest)
readonly property int currentWidth: _private.currentWidth + 1
@@ -77,6 +77,8 @@ Kirigami.Page {
text: `${number} - ${title}`
icon.name: "vcs-merge-request"
+
+ onClicked: root.pullRequestSelected(pullRequestModel.get(index))
}
}
}