add notifications

edit widget.qml
fix bug in monitor
This commit is contained in:
arcan1s
2015-02-04 05:20:00 +03:00
parent f01fd96cf6
commit bb88892125
6 changed files with 52 additions and 9 deletions

View File

@ -205,8 +205,6 @@ Item {
function action_requestKey() {
if (debug) console.log("[main::action_requestKey]")
var message = AWKeys.graphicalValueByKey();
if (message.length == 0) return
AWActions.sendNotification("tag", message)
AWKeys.graphicalValueByKey()
}
}

View File

@ -240,6 +240,8 @@ Item {
var message = i18n("Tag: %1", tags.currentText)
message += "<br>"
message += i18n("Value: %1", AWKeys.valueByKey(tags.currentText))
message += "<br>"
message += i18n("Info: %1", AWKeys.infoByKey(tags.currentText))
AWActions.sendNotification("tag", message)
}
}