From 03fbfc85f953274e9d480f11fd1b3714e48772bc Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Wed, 4 Jan 2017 13:50:37 -0800 Subject: [PATCH] Short delay before populating PAL when changing domains --- scripts/system/pal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system/pal.js b/scripts/system/pal.js index 505c1840da..bc9784fb17 100644 --- a/scripts/system/pal.js +++ b/scripts/system/pal.js @@ -335,7 +335,7 @@ Users.usernameFromIDReply.connect(usernameFromIDReply); function clearIgnoredInQMLAndRefreshPAL() { pal.sendToQml({ method: 'clearIgnored' }); removeOverlays(); - populateUserList(); + Script.setTimeout(populateUserList, 200); // Short delay before populating the PAL to allow the HashMap to populate } Window.domainChanged.connect(clearIgnoredInQMLAndRefreshPAL); Window.domainConnectionRefused.connect(clearIgnoredInQMLAndRefreshPAL);