From eca801df4cf476cb45ebf4c2ef4697716acd3aa2 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 26 Jun 2020 02:35:16 -0400 Subject: [PATCH] Fix laggy device list loading --- src/gui/Pages/AccountSettings/Sessions.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/Pages/AccountSettings/Sessions.qml b/src/gui/Pages/AccountSettings/Sessions.qml index 9ab7e013..c5925158 100644 --- a/src/gui/Pages/AccountSettings/Sessions.qml +++ b/src/gui/Pages/AccountSettings/Sessions.qml @@ -76,7 +76,8 @@ HColumnPage { HListView { id: deviceList - property var sectionItemCounts: getSectionItemCounts() + // Don't bind directly to getSectionItemCounts(), laggy with big list + property var sectionItemCounts: ({}) clip: true model: ListModel {}