[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [spacebar] app/package/contents/ui: [app] Ensure the channel gets closed when pressing the "Close" b
From: Martin Klapetek <mklapetek () kde ! org>
Date: 2016-03-10 21:35:07
Message-ID: E1ae8Ed-00078N-KV () scm ! kde ! org
[Download RAW message or body]
Git commit 2d333969da99c6a6429f22426cba63e1bdcdac2b by Martin Klapetek.
Committed on 10/03/2016 at 21:34.
Pushed by mklapetek into branch 'master'.
[app] Ensure the channel gets closed when pressing the "Close" button
M +5 -1 app/package/contents/ui/ConversationPage.qml
http://commits.kde.org/spacebar/2d333969da99c6a6429f22426cba63e1bdcdac2b
diff --git a/app/package/contents/ui/ConversationPage.qml b/app/package/contents/ui/ConversationPage.qml
index ce09fd6..7182bd7 100644
--- a/app/package/contents/ui/ConversationPage.qml
+++ b/app/package/contents/ui/ConversationPage.qml
@@ -62,7 +62,11 @@ MobileComponents.Page {
PlasmaComponents.Button {
text: i18nc("Close an active conversation", "Close")
- onClicked: root.pageStack.pop();
+ onClicked: {
+ conversation.messages.visibleToUser = false;
+ conversation.requestClose();
+ root.pageStack.pop();
+ }
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic