From 3d4c249184ae3f7a2be8c0a7271482bc2aff8de8 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 21 Aug 2018 11:00:29 +0200 Subject: Use the refresh signal in the conversation view as well. --- framework/qml/InlineAccountSwitcher.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'framework/qml') 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 { Kube.Fabric.postMessage(Kube.Messages.accountSelection, {accountId: currentAccount}); } + property var currentFolder + ColumnLayout { id: layout anchors.fill: parent @@ -95,7 +97,8 @@ FocusScope { onActivated: { if (visible) { Kube.Fabric.postMessage(Kube.Messages.folderSelection, {"folder": model.data(index, Kube.FolderListModel.DomainObject), - "trash": model.data(index, Kube.FolderListModel.Trash)}); + "trash": model.data(index, Kube.FolderListModel.Trash)}) + root.currentFolder = model.data(index, Kube.FolderListModel.DomainObject) } } } -- cgit v1.2.3