Remove lib before showing dialog

This commit is contained in:
Brahim Hadriche committed 2026-11-20 21:55:52 -05:00
1 parent f2412a99ee
commit f5297ac582
1 file changed
+2 -1
@@ -47,6 +47,8 @@ function GetPlayletLibUrls() as object
end function end function
function LoadPlayletLib() as void function LoadPlayletLib() as void
RemoveComponentLibrary()
if m.playletLibUrlIndex >= m.playletLibUrls.Count() if m.playletLibUrlIndex >= m.playletLibUrls.Count()
m.loadingIndicator.visible = false m.loadingIndicator.visible = false
if m.shouldClearRegistryOnLoadFail = true if m.shouldClearRegistryOnLoadFail = true
@@ -56,7 +58,6 @@ function LoadPlayletLib() as void
return return
end if end if
RemoveComponentLibrary()
uri = m.playletLibUrls[m.playletLibUrlIndex].link uri = m.playletLibUrls[m.playletLibUrlIndex].link
LoadComponentLibrary(uri) LoadComponentLibrary(uri)
end function end function