From 0ad2650fd4084c7c7518b80d0f2d3f1275d89f28 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 17 Apr 2018 23:13:41 +0200 Subject: Always select the first index (INBOX) in the folderlist initially. --- views/conversation/main.qml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'views') diff --git a/views/conversation/main.qml b/views/conversation/main.qml index cb42fe5c..f2d28d26 100644 --- a/views/conversation/main.qml +++ b/views/conversation/main.qml @@ -34,12 +34,18 @@ ApplicationWindow { accounts: [{ id: "account1", name: "Test Account" - }], + }, + { + id: "account2", + name: "Test Account2" + } + ], identities: [{ account: "account1", name: "Test Identity", address: "identity@example.org" - }], + } + ], resources: [{ id: "resource1", account: "account1", @@ -49,7 +55,13 @@ ApplicationWindow { id: "resource2", account: "account1", type: "mailtransport" - }], + }, + { + id: "resource3", + account: "account2", + type: "dummy" + } + ], folders: [{ id: "folder1", resource: "resource1", @@ -203,7 +215,13 @@ Bvr+rojxTJ3X+pzb2LJQwJnALL/VdIF3yHtGu2//Yfu4oxGGA0M90KiW ], }, ] - }], + }, + { + id: "folder2", + resource: "resource1", + name: "Folder 2" + } + ], } TestStore.setup(initialState) } -- cgit v1.2.3