diff --git a/qfieldsync/gui/layers_config_widget.py b/qfieldsync/gui/layers_config_widget.py index 436dc0e1..26e923b6 100644 --- a/qfieldsync/gui/layers_config_widget.py +++ b/qfieldsync/gui/layers_config_widget.py @@ -157,7 +157,8 @@ def reloadProject(self): # Apply filter if show_visible_only and not layer_visible: continue - if (text_filter) and (text_filter not in layer_name): + + if text_filter and text_filter not in layer_name: continue count = self.layersTable.rowCount()