diff --git a/src/config_generator/dnd_form_generator.py b/src/config_generator/dnd_form_generator.py index 7034003..47e7ceb 100644 --- a/src/config_generator/dnd_form_generator.py +++ b/src/config_generator/dnd_form_generator.py @@ -463,7 +463,7 @@ def __add_autolayout_fields(self, maplayer, projectname, layername, project, par if relation.get("referencedLayer") != layerid or referencingLayer is None or fieldRef is None: continue - widget = self.__create_relation_widget(project, relation, True) + widget = self.__create_relation_widget(projectname, layername, project, relation, True) if not widget: continue