← Back to team overview

kicad-developers team mailing list archive

One liner fix to pad properties dialog

 

On enter the enable state of the various pad shape dimension is not set.

So you see enabled the 'size y' box for a round pad, for example. 

Fixed in the obvious way (it was already done for the drill values)

=== modified file 'pcbnew/dialogs/dialog_pad_properties.cpp'
--- pcbnew/dialogs/dialog_pad_properties.cpp    2012-05-18 08:45:50 +0000
+++ pcbnew/dialogs/dialog_pad_properties.cpp    2012-06-25 19:35:02 +0000
@@ -479,6 +479,7 @@
     wxCommandEvent cmd_event;
     setPadLayersList( m_dummyPad->GetLayerMask() );
     OnDrillShapeSelected( cmd_event );
+    OnPadShapeSelection( cmd_event );
 }

-- 
Lorenzo Marcantonio
Logos Srl