From ea0cda6aa8e71aec9d1f0eb6fe4b36bc2ea1f519 Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 4 Nov 2019 14:55:26 -0400 Subject: [PATCH] HMxcImage: Fix "invalid write to property httpUrl" --- src/qml/Base/HMxcImage.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/qml/Base/HMxcImage.qml b/src/qml/Base/HMxcImage.qml index ed0cb66c..b0550c8b 100644 --- a/src/qml/Base/HMxcImage.qml +++ b/src/qml/Base/HMxcImage.qml @@ -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 }