diff --git a/geest/core/json_tree_item.py b/geest/core/json_tree_item.py index ad8d798b..7eaa865c 100644 --- a/geest/core/json_tree_item.py +++ b/geest/core/json_tree_item.py @@ -234,8 +234,8 @@ def getStatus(self): data = self.attributes() analysis_mode = data.get("analysis_mode", "") - qgis_layer_source_key = analysis_mode.replace("use_", "") + "layer_spource" - qgis_layer_shapefile_key = analysis_mode.replace("use_", "") + "shapefile" + qgis_layer_source_key = analysis_mode.replace("use_", "") + "_layer_source" + qgis_layer_shapefile_key = analysis_mode.replace("use_", "") + "_shapefile" status = "" # First check if the item weighting is 0, or its parent factor is zero diff --git a/geest/gui/widgets/combined_widgets/point_layer_widget.py b/geest/gui/widgets/combined_widgets/point_layer_widget.py index 87d39b7b..f3742b65 100644 --- a/geest/gui/widgets/combined_widgets/point_layer_widget.py +++ b/geest/gui/widgets/combined_widgets/point_layer_widget.py @@ -8,7 +8,7 @@ QFileDialog, ) from qgis.gui import QgsMapLayerComboBox -from qgis.core import QgsMapLayerProxyModel, QgsProject +from qgis.core import QgsMapLayerProxyModel, QgsProject, Qgis from qgis.PyQt.QtCore import QSettings from .base_indicator_widget import BaseIndicatorWidget from geest.utilities import log_message