HMxcImage: Fix "invalid write to property httpUrl"
This commit is contained in:
parent
6586403985
commit
ea0cda6aa8
|
@ -10,7 +10,9 @@ HImage {
|
|||
Qt.callLater(update)
|
||||
|
||||
if (mxc.startsWith("mxc://")) {
|
||||
py.callCoro("mxc_to_http", [mxc], http => { httpUrl = http || "" })
|
||||
py.callCoro("mxc_to_http", [mxc], http => {
|
||||
image.httpUrl = http || ""
|
||||
})
|
||||
} else {
|
||||
httpUrl = mxc
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user