pcbnew: confirnation missed deleting locked components
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Wayne Stambaugh |
Bug Description
Pressing "Delete" key while mouse pointer is inside of locked component silently delete component, while selecting "Delete footpinnt" item from dropdown menu displays message that footprint is locked.
Application: pcbnew
Version: (2016-01-25 BZR 6513)-product release build
wxWidgets: Version 3.0.0 (debug,
Platform: Linux 3.19.0-39-generic x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.54.0
Changed in kicad: | |
assignee: | nobody → Wayne Stambaugh (stambaughw) |
status: | New → Confirmed |
Changed in kicad: | |
status: | Confirmed → Fix Released |
I committed a partial fix for this the product branch r6601. The delete hot key will no longer delete locked footprints but it will also not give you any warning that the footprint is locked and allow you to override the lock. I'm personally not a big fan of nagware so I'm reluctant to add a message dialog. I would prefer just displaying a warning in the message panel but that may not be preferred by all users. The code that handles this is a bit ugly so I have to do some code cleaning before I add some type of indicator that the user is attempting to delete a locked footprint.