diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-25 12:06:42 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-25 14:03:13 +0100 |
commit | ad10788ac3a60bffe053cec172e0e750f393905a (patch) | |
tree | 348452ebe54babed936b2bc5b905c7ddcc2f9130 /framework/qml/Outbox.qml | |
parent | 20f9d05d780f160f2918fc96dbbc49c683104fce (diff) | |
download | kube-ad10788ac3a60bffe053cec172e0e750f393905a.tar.gz kube-ad10788ac3a60bffe053cec172e0e750f393905a.zip |
Close the popup after pressing send and make sure the relevant message
is available
Diffstat (limited to 'framework/qml/Outbox.qml')
-rw-r--r-- | framework/qml/Outbox.qml | 5 |
1 files changed, 4 insertions, 1 deletions
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 { |