采集过程中禁用图层树的选择功能
This commit is contained in:
@ -2701,6 +2701,12 @@ void HPPA::newImage(RasterLayer* ml, RasterImageLayer::RendererType type, LayerT
|
|||||||
|
|
||||||
void HPPA::onLayerTreeSelectionChanged(const QItemSelection& selected, const QItemSelection& deselected)
|
void HPPA::onLayerTreeSelectionChanged(const QItemSelection& selected, const QItemSelection& deselected)
|
||||||
{
|
{
|
||||||
|
//采集过程中禁用图层树的选择功能
|
||||||
|
if (m_RecordState % 2 == 1)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Q_UNUSED(deselected);
|
Q_UNUSED(deselected);
|
||||||
|
|
||||||
if (selected.indexes().isEmpty())
|
if (selected.indexes().isEmpty())
|
||||||
|
|||||||
Reference in New Issue
Block a user