Skip to content

Commit

Permalink
Fix missing warning about empty layers
Browse files Browse the repository at this point in the history
This was accidentally removed from the GUI when logic was added
to omit it from the usage reports
  • Loading branch information
nyalldawson committed Nov 22, 2023
1 parent b6796a2 commit 670e89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion felt/core/map_uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ def _build_unsupported_layer_details(self,
unsupported_layer_names = set()
for layer in layers:
support, reason = LayerExporter.can_export_layer(layer)
self.unsupported_layers.append((layer.name(), reason))
if not support.should_report():
continue

unsupported_layer_names.add(layer.name())
self.unsupported_layers.append((layer.name(), reason))
if layer.type() == QgsMapLayer.PluginLayer:
id_string = layer.pluginLayerType()
else:
Expand Down

0 comments on commit 670e89e

Please sign in to comment.