diff options
Diffstat (limited to 'framework/qml')
-rw-r--r-- | framework/qml/FolderListView.qml | 1 | ||||
-rw-r--r-- | framework/qml/InlineAccountSwitcher.qml | 5 | ||||
-rw-r--r-- | framework/qml/Messages.qml | 1 |
3 files changed, 2 insertions, 5 deletions
diff --git a/framework/qml/FolderListView.qml b/framework/qml/FolderListView.qml index ece6f280..25c6cbe5 100644 --- a/framework/qml/FolderListView.qml +++ b/framework/qml/FolderListView.qml | |||
@@ -42,7 +42,6 @@ Kube.TreeView { | |||
42 | model.fetchMore(index); | 42 | model.fetchMore(index); |
43 | Kube.Fabric.postMessage(Kube.Messages.folderSelection, {"folder": model.data(index, Kube.FolderListModel.DomainObject), | 43 | Kube.Fabric.postMessage(Kube.Messages.folderSelection, {"folder": model.data(index, Kube.FolderListModel.DomainObject), |
44 | "trash": model.data(index, Kube.FolderListModel.Trash)}); | 44 | "trash": model.data(index, Kube.FolderListModel.Trash)}); |
45 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"folder": model.data(index, Kube.FolderListModel.DomainObject)}); | ||
46 | } | 45 | } |
47 | 46 | ||
48 | 47 | ||
diff --git a/framework/qml/InlineAccountSwitcher.qml b/framework/qml/InlineAccountSwitcher.qml index 511c38db..354150a5 100644 --- a/framework/qml/InlineAccountSwitcher.qml +++ b/framework/qml/InlineAccountSwitcher.qml | |||
@@ -24,10 +24,7 @@ FocusScope { | |||
24 | id: root | 24 | id: root |
25 | property string currentAccount | 25 | property string currentAccount |
26 | onCurrentAccountChanged: { | 26 | onCurrentAccountChanged: { |
27 | if (!!currentAccount) { | 27 | Kube.Fabric.postMessage(Kube.Messages.accountSelection, {"account": currentAccount}); |
28 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": currentAccount}); | ||
29 | } | ||
30 | |||
31 | } | 28 | } |
32 | 29 | ||
33 | ColumnLayout { | 30 | ColumnLayout { |
diff --git a/framework/qml/Messages.qml b/framework/qml/Messages.qml index 485f7816..1d2ca002 100644 --- a/framework/qml/Messages.qml +++ b/framework/qml/Messages.qml | |||
@@ -24,6 +24,7 @@ Item { | |||
24 | //Selections | 24 | //Selections |
25 | property string folderSelection: "currentFolder" | 25 | property string folderSelection: "currentFolder" |
26 | property string mailSelection: "currentMail" | 26 | property string mailSelection: "currentMail" |
27 | property string accountSelection: "currentAccount" | ||
27 | 28 | ||
28 | //Actions | 29 | //Actions |
29 | property string moveToTrash: "moveToTrash" | 30 | property string moveToTrash: "moveToTrash" |