When a spatial layer is set to private, it still appears as an option in the drop-down menu when the user selects the ‘Add’ button in map view. Being able to hide layers from the drop-down options would be useful for cases when you only want a user to add features as a child to a parent feature.
Missing bool isPrivate = layer->flags() & QgsMapLayer::LayerFlag::Private; in RecordingLayersProxyModel::filterAcceptsRow
When a spatial layer is set to private, it still appears as an option in the drop-down menu when the user selects the ‘Add’ button in map view. Being able to hide layers from the drop-down options would be useful for cases when you only want a user to add features as a child to a parent feature.
Missing
bool isPrivate = layer->flags() & QgsMapLayer::LayerFlag::Private;inRecordingLayersProxyModel::filterAcceptsRow