summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-25 12:06:42 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-25 14:03:13 +0100
commitad10788ac3a60bffe053cec172e0e750f393905a (patch)
tree348452ebe54babed936b2bc5b905c7ddcc2f9130
parent20f9d05d780f160f2918fc96dbbc49c683104fce (diff)
downloadkube-ad10788ac3a60bffe053cec172e0e750f393905a.tar.gz
kube-ad10788ac3a60bffe053cec172e0e750f393905a.zip
Close the popup after pressing send and make sure the relevant message
is available
-rw-r--r--framework/qml/Messages.qml1
-rw-r--r--framework/qml/Outbox.qml5
2 files changed, 5 insertions, 1 deletions
diff --git a/framework/qml/Messages.qml b/framework/qml/Messages.qml
index 597afc0c..18db51ff 100644
--- a/framework/qml/Messages.qml
+++ b/framework/qml/Messages.qml
@@ -46,6 +46,7 @@ Item {
46 property string reply: "reply" 46 property string reply: "reply"
47 property string edit: "edit" 47 property string edit: "edit"
48 property string compose: "compose" 48 property string compose: "compose"
49 property string sendOutbox: "sendOutbox"
49 50
50 property string componentDone: "done" 51 property string componentDone: "done"
51} 52}
diff --git a/framework/qml/Outbox.qml b/framework/qml/Outbox.qml
index a9a1a1d6..215fc3a2 100644
--- a/framework/qml/Outbox.qml
+++ b/framework/qml/Outbox.qml
@@ -158,7 +158,10 @@ Kube.IconButton {
158 visible: listView.count != 0 158 visible: listView.count != 0
159 159
160 text: qsTr("Send now") 160 text: qsTr("Send now")
161 onClicked: Kube.Fabric.postMessage(Kube.Messages.sendOutbox, {}) 161 onClicked: {
162 Kube.Fabric.postMessage(Kube.Messages.sendOutbox, {})
163 dialog.close()
164 }
162 } 165 }
163 166
164 Kube.Label { 167 Kube.Label {