采集过程中禁用图层树的选择功能

This commit is contained in:
tangchao0503
2026-05-27 22:37:54 +08:00
parent 43acd5ba01
commit 410da482bc

View File

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