Hi Ales, Ales Hvezda writes: > [...] > I'm curious, where would this code fragment go then? The user > changes the slot attribute, so it needs to be updated.
To me, this code fragment should be moved to o_attrib.nw in gschem since it has to be shared with the single attribute editor for instance. This way the multiattrib dialog (or the attribedit dialog) is only a front-end to the attribute system of gschem. And it has to be turned into something more general: each time an attribute is added or changed or deleted, gschem should check that such an attribute is valid (no refdes on a net for example), its value is correct, the attribute is unique (right now there can be more than one slot attribute)... Ideally it would be done through scheme code so that the checks are user-configurable and easy to customize. Regards, Patrick
