From b3fd278c3cbd091dd21c0ae4e1a9f16566c659ce Mon Sep 17 00:00:00 2001 From: Touhou-fan <30899927+Touhou-fan@users.noreply.github.com> Date: Sat, 11 Aug 2018 23:53:20 +0200 Subject: [PATCH] Fix selecting incorrect image (#659) --- src/messages/ImageSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages/ImageSet.cpp b/src/messages/ImageSet.cpp index 0e500816f..1019d27e9 100644 --- a/src/messages/ImageSet.cpp +++ b/src/messages/ImageSet.cpp @@ -76,7 +76,7 @@ const ImagePtr &ImageSet::getImage(float scale) const } if (!this->imageX2_->isEmpty() && quality == 2) { - return this->imageX3_; + return this->imageX2_; } return this->imageX1_;