Skip to content

Commit

Permalink
Fix missing warning about empty layers (#54)
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 authored Nov 23, 2023
1 parent 2380d5a commit 1f558b0
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 @@ -163,11 +163,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 1f558b0

Please sign in to comment.