From 6d24c5b0f197cf21421ffb43cefe2697f5f6cea2 Mon Sep 17 00:00:00 2001 From: RCi <15089880081@163.com> Date: Wed, 15 Oct 2025 12:12:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/launcher/GUI/uiModule/uiModule_imageView.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/launcher/GUI/uiModule/uiModule_imageView.h b/src/launcher/GUI/uiModule/uiModule_imageView.h index 273d88c..53fd389 100644 --- a/src/launcher/GUI/uiModule/uiModule_imageView.h +++ b/src/launcher/GUI/uiModule/uiModule_imageView.h @@ -727,8 +727,14 @@ public: for (int col = 0; col < vec[row].size(); col++) { if (vec[row][col] == nullptr) { if (col > 0) { - if (vec[row][col - 1] != nullptr) { - Layout->span + if (vec[row - 1][col] != nullptr) { + vec[row - 1][col]->originalRowSpan++; + Layout->removeWidget(vec[row - 1][col]); + Layout->addWidget(vec[row - 1][col], + vec[row - 1][col]->originalRow, + vec[row - 1][col]->originalColumn, + vec[row - 1][col]->originalRowSpan, + vec[row - 1][col]->originalColumnSpan); } } else {