diff --git a/qfieldsync/gui/layers_config_widget.py b/qfieldsync/gui/layers_config_widget.py index 26e923b6..f502f265 100644 --- a/qfieldsync/gui/layers_config_widget.py +++ b/qfieldsync/gui/layers_config_widget.py @@ -144,7 +144,7 @@ def reloadProject(self): # Get filtered layers show_visible_only = self.showVisibleLayersOnlyCheckbox.isChecked() - text_filter = self.textFilterBox.text().lower() + filter_text = self.textFilterBox.text().lower() for layer_source in self.layer_sources: layer_name = layer_source.layer.name().lower()