force refetching previews when preview whitelist changes

This commit is contained in:
Richard Ramos 2021-05-03 08:51:56 -04:00 committed by Iuri Matias
parent 659eb6c681
commit 9ea56a3ae7
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ Column {
Connections {
target: appSettings
onWhitelistedUnfurlingSitesChanged: {
fetched = false
linkMessageLoader.sourceComponent = undefined
linkMessageLoader.sourceComponent = linkMessageLoader.getSourceComponent()
}