--- In [email protected], "jean-pierre.char...@..." <jean-pierre.char...@...> wrote: > > Bús József a écrit : > > Hi > > > > I made the patch for the pcbnew, add, delete and edit Other Fields, for > > cvs version (revision:2135). > > > > Find attached the patch file and upload: > > http://tech.groups.yahoo.com/group/kicad-users/files/busj/ModuleEditOtherField/ > > > > Tested only on Linux. > > > > Regards, > > BusJ > > > > > I cannot commit your patch because it has some drawbacks: > - try to edit a field when no fields in list (no field selected) crashes > pcbnew. > - delete a field when no field in list is possible.
Fixed in ver2. Field creation function also had an error in module editor "Add text" (CANCEL is ignored) > - But the main problem is the fields are created / deleted / edited > directly on the footprint, and therefore before the OK button (or the > CANCEL button) is pressed. > So the edition cannot be canceled or undo. > The dialog *must* work on copies of fields, and transfers the new data > only when the OK button is pressed. Not yet implemented. http://tech.groups.yahoo.com/group/kicad-users/files/busj/ModuleEditOtherField/10-Module_OtherFields_v2.patch BusJ
