summaryrefslogtreecommitdiffstats
path: root/app/Onscreen.qml
diff options
context:
space:
mode:
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2019-03-12 15:56:03 +0800
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2019-03-14 13:37:08 +0800
commitfa03906e589c570051a084fdb2bf4450b8d99e98 (patch)
tree6fc8f7ecad908d8ee3b11e26cd54a824235bef38 /app/Onscreen.qml
parentaee1b69e8e207081a3d8b2670980671a9fbc78b8 (diff)
Only set buttonName information in replyShowWindow isn't enough for application who have two onscreens with same button name. So add onscreen title into replayShowWindow. Bug-AGL: SPEC-1967 Change-Id: Ia695ed6d14ee49e6342f7600fdb2800da8b518c6 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Diffstat (limited to 'app/Onscreen.qml')
-rw-r--r--app/Onscreen.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Onscreen.qml b/app/Onscreen.qml
index cfad090..5e53f98 100644
--- a/app/Onscreen.qml
+++ b/app/Onscreen.qml
@@ -96,7 +96,7 @@ Rectangle {
text: btn1Name
onReleased: {
btn1.highlighted = false
- eventHandler.onScreenReply(btn1.text)
+ eventHandler.onScreenReply(title.text, btn1.text)
}
onPressed: {
btn1.highlighted = true
@@ -113,7 +113,7 @@ Rectangle {
text: btn2Name
onReleased: {
btn2.highlighted = false
- eventHandler.onScreenReply(btn2.text)
+ eventHandler.onScreenReply(title.text, btn2.text)
}
onPressed: {
btn2.highlighted = true
@@ -130,7 +130,7 @@ Rectangle {
text: btn3Name
onReleased: {
btn3.highlighted = false
- eventHandler.onScreenReply(btn3.text)
+ eventHandler.onScreenReply(title.text, btn3.text)
}
onPressed: {
btn3.highlighted = true