GAL copy/apply/push settings always enabled in menu

Bug #1664016 reported by John Beard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
John Beard

Bug Description

The GAL pad submenu options for copy/apply/push settings are enabled when they shouldn't be.

The commands should be disabled when there are no pads selected.

Apply & Push should be disabled when there is no global settings source pad set up yet.

Bug lp:1663915 is somewhat related as it occurred when the pad push dialog was invoked without a source pad.

Tags: gal
Revision history for this message
John Beard (john-j-beard) wrote :
Revision history for this message
Maciej Suminski (orsonmmz) wrote :

Hi John,

I could not ever enable 'Apply Pad Settings' entry. Seemingly m_Pad_Master does not have its parent set, so PAD_TOOL::hasMasterPadSettings() always evaluated to false. Let me know if the attached patch is fine, and if so I will merge everything. Thank you for the fixes.

Revision history for this message
John Beard (john-j-beard) wrote :

That works for me and looks like a simpler solution!

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision ca91c27852cf3cf355482318d2dfcc71099266d5
https://git.launchpad.net/kicad/patch/?id=ca91c27852cf3cf355482318d2dfcc71099266d5

Changed in kicad:
status: New → Fix Committed
assignee: nobody → John Beard (john-j-beard)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.