Hi Richard, This is intentional. The actual enum and docstrings are quite explicit, however I can't think of the use case for NeverAskSkip: ``` AlwaysAsk, //!< Always ask users to select from available sublayers, if sublayers are present AskExcludingRasterBands, //!< Ask users to select from available sublayers, unless only raster bands are present NeverAskSkip, //!< Never ask users to select sublayers, instead don't load anything NeverAskLoadAll, //!< Never ask users to select sublayers, instead automatically load all available sublayers ``` I believe this info should be added to a tooltip to avoid user confusion.
However, for the case of single layer geopackage, I never get a sublayers dialog regardless of this setting. The layer is always loaded as I believe you need to have more than one Layer for it to be considered a SubLayer. Best Stefanos
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer