From 410da482bc336e2c31b2dc812debd89e7ca84d0d Mon Sep 17 00:00:00 2001 From: tangchao0503 <735056338@qq.com> Date: Wed, 27 May 2026 22:37:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E9=9B=86=E8=BF=87=E7=A8=8B=E4=B8=AD?= =?UTF-8?q?=E7=A6=81=E7=94=A8=E5=9B=BE=E5=B1=82=E6=A0=91=E7=9A=84=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HPPA/HPPA.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HPPA/HPPA.cpp b/HPPA/HPPA.cpp index 50c16f1..edf3f3b 100644 --- a/HPPA/HPPA.cpp +++ b/HPPA/HPPA.cpp @@ -2701,6 +2701,12 @@ void HPPA::newImage(RasterLayer* ml, RasterImageLayer::RendererType type, LayerT void HPPA::onLayerTreeSelectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { + //采集过程中禁用图层树的选择功能 + if (m_RecordState % 2 == 1) + { + return; + } + Q_UNUSED(deselected); if (selected.indexes().isEmpty())