Repair tab order in Footprint Properties dialog.

Fixes https://gitlab.com/kicad/code/kicad/issues/10978
This commit is contained in:
Jeff Young 2022-02-26 16:38:41 +00:00
parent e61c48fbf2
commit 2c6a2c3479
1 changed files with 22 additions and 0 deletions

View File

@ -144,6 +144,28 @@ DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES( PCB_EDIT_FRAME* aParen
m_bpAdd->SetBitmap( KiBitmap( BITMAPS::small_plus ) );
m_bpDelete->SetBitmap( KiBitmap( BITMAPS::small_trash ) );
// We can't set the tab order through wxWidgets due to shortcomings in their mnemonics
// implementation on MSW
m_tabOrder = {
m_itemsGrid,
m_ModPositionX,
m_ModPositionY,
m_orientationCtrl,
m_BoardSideCtrl,
m_cbLocked,
m_componentType,
m_boardOnly,
m_excludeFromPosFiles,
m_excludeFromBOM,
m_noCourtyards,
m_NetClearanceCtrl,
m_SolderMaskMarginCtrl,
m_allowSolderMaskBridges,
m_SolderPasteMarginCtrl,
m_PasteMarginRatioCtrl,
m_ZoneConnectionChoice
};
SetupStandardButtons();
finishDialogSettings();