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())