From 670e89ed1c5d36c6f9b2bb88528d670f86389e68 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Wed, 22 Nov 2023 10:39:32 +1000 Subject: [PATCH] Fix missing warning about empty layers This was accidentally removed from the GUI when logic was added to omit it from the usage reports --- felt/core/map_uploader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/felt/core/map_uploader.py b/felt/core/map_uploader.py index 69ed9d1..1a6d62e 100644 --- a/felt/core/map_uploader.py +++ b/felt/core/map_uploader.py @@ -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: