aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatlistPage.qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-08-01 19:30:04 +0300
committerlink2xt <link2xt@testrun.org>2021-08-01 19:30:04 +0300
commit8082ba47442181eb9c6cf2574643d54f89f55b3a (patch)
treef21eb060bde5f15d65554f16cd2b1ac727242828 /qml/ChatlistPage.qml
parentd9d826b2869ae8b1a8832877e97e50c5d4570b05 (diff)
downloadkdeltachat-8082ba47442181eb9c6cf2574643d54f89f55b3a.tar.gz
kdeltachat-8082ba47442181eb9c6cf2574643d54f89f55b3a.zip
Add "delete" icon to "Delete chat" action
Diffstat (limited to 'qml/ChatlistPage.qml')
-rw-r--r--qml/ChatlistPage.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml
index 95877c6..7a9877b 100644
--- a/qml/ChatlistPage.qml
+++ b/qml/ChatlistPage.qml
@@ -201,6 +201,7 @@ Kirigami.ScrollablePage {
onTriggered: chatlistPage.context.setChatVisibility(model.chatId, 0)
}
Action {
+ icon.name: "delete"
text: "Delete chat"
onTriggered: chatlistPage.context.deleteChat(model.chatId)
}