diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-04-21 20:55:28 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-04-21 20:55:28 +0200 |
commit | 6a39b29acc7595fff572afe920ed9a3ac42768e5 (patch) | |
tree | 0cbcd0e0e6c7d0425c887a76e762b851197f151b /resources/qml/delegates/ImageMessage.qml | |
parent | Fix own encrypted images not showing up after sending (diff) | |
download | nheko-6a39b29acc7595fff572afe920ed9a3ac42768e5.tar.xz |
Disable opening images, when they are not loaded
Diffstat (limited to 'resources/qml/delegates/ImageMessage.qml')
-rw-r--r-- | resources/qml/delegates/ImageMessage.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/delegates/ImageMessage.qml b/resources/qml/delegates/ImageMessage.qml index 229f8f09..c7e6d127 100644 --- a/resources/qml/delegates/ImageMessage.qml +++ b/resources/qml/delegates/ImageMessage.qml @@ -33,7 +33,7 @@ Item { fillMode: Image.PreserveAspectFit MouseArea { - enabled: model.data.type == MtxEvent.ImageMessage + enabled: model.data.type == MtxEvent.ImageMessage && img.status == Image.Ready anchors.fill: parent onClicked: timelineManager.openImageOverlay(model.data.url, model.data.id) } |