From 3577982a9302ea223a563f5879265b1d55ac4c9f Mon Sep 17 00:00:00 2001
From: kdupont-teevin <kessler.dupont-teevin@savoirfairelinux.com>
Date: Thu, 4 Jul 2024 15:48:23 -0400
Subject: [PATCH] testing: added account switcher box

Change-Id: I76b67b819cd8e028062406b96583a36ae6a6d509
---
 src/app/ComponentTestWindow.qml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/app/ComponentTestWindow.qml b/src/app/ComponentTestWindow.qml
index 0fe64693f..001b65359 100644
--- a/src/app/ComponentTestWindow.qml
+++ b/src/app/ComponentTestWindow.qml
@@ -145,6 +145,16 @@ ApplicationWindow {
                                 LRCInstance.selectConversation(convUid);
                             }
                         }
+                        ListElement {
+                            label: "Account ID"
+                            type: "combobox"
+                            getDataModel: () => AccountListModel
+                            displayRole: AccountList.Username
+                            onIndexChanged: function(model, index) {
+                                const accountId = JamiQmlUtils.getModelData(model, index, AccountList.ID);
+                                LRCInstance.currentAccountId = accountId;
+                            }
+                        }
                         ListElement {
                             label: "Force local preview"
                             type: "checkbox"
-- 
GitLab