summaryrefslogtreecommitdiffstats
path: root/framework/qml/InlineAccountSwitcher.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-21 11:00:29 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-21 11:00:29 +0200
commit3d4c249184ae3f7a2be8c0a7271482bc2aff8de8 (patch)
tree44f7dc5285a5e0ccae97bc8cc796f636237c1685 /framework/qml/InlineAccountSwitcher.qml
parent0b973d5af8a33e9542c8364dfb3ae59ace64821b (diff)
downloadkube-3d4c249184ae3f7a2be8c0a7271482bc2aff8de8.tar.gz
kube-3d4c249184ae3f7a2be8c0a7271482bc2aff8de8.zip
Use the refresh signal in the conversation view as well.
Diffstat (limited to 'framework/qml/InlineAccountSwitcher.qml')
-rw-r--r--framework/qml/InlineAccountSwitcher.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/qml/InlineAccountSwitcher.qml b/framework/qml/InlineAccountSwitcher.qml
index 2af1a455..e54049be 100644
--- a/framework/qml/InlineAccountSwitcher.qml
+++ b/framework/qml/InlineAccountSwitcher.qml
@@ -27,6 +27,8 @@ FocusScope {
27 Kube.Fabric.postMessage(Kube.Messages.accountSelection, {accountId: currentAccount}); 27 Kube.Fabric.postMessage(Kube.Messages.accountSelection, {accountId: currentAccount});
28 } 28 }
29 29
30 property var currentFolder
31
30 ColumnLayout { 32 ColumnLayout {
31 id: layout 33 id: layout
32 anchors.fill: parent 34 anchors.fill: parent
@@ -95,7 +97,8 @@ FocusScope {
95 onActivated: { 97 onActivated: {
96 if (visible) { 98 if (visible) {
97 Kube.Fabric.postMessage(Kube.Messages.folderSelection, {"folder": model.data(index, Kube.FolderListModel.DomainObject), 99 Kube.Fabric.postMessage(Kube.Messages.folderSelection, {"folder": model.data(index, Kube.FolderListModel.DomainObject),
98 "trash": model.data(index, Kube.FolderListModel.Trash)}); 100 "trash": model.data(index, Kube.FolderListModel.Trash)})
101 root.currentFolder = model.data(index, Kube.FolderListModel.DomainObject)
99 } 102 }
100 } 103 }
101 } 104 }