Repair tab order in Footprint Properties dialog.

Fixes https://gitlab.com/kicad/code/kicad/issues/10978

(cherry picked from commit 2c6a2c3479)
This commit is contained in:
Jeff Young 2022-02-26 16:38:41 +00:00
parent 05110b7bdc
commit a8175f49a6
2 changed files with 20 additions and 1 deletions

View File

@ -150,6 +150,25 @@ 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_BoardSideCtrl,
m_OrientValueCtrl,
m_componentType,
m_boardOnly,
m_excludeFromPosFiles,
m_excludeFromBOM,
m_NetClearanceCtrl,
m_SolderMaskMarginCtrl,
m_SolderPasteMarginCtrl,
m_PasteMarginRatioCtrl,
m_ZoneConnectionChoice
};
finishDialogSettings();
m_initialized = true;
}

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<wxFormBuilder_Project>
<FileVersion major="1" minor="16" />
<FileVersion major="1" minor="15" />
<object class="Project" expanded="1">
<property name="class_decoration"></property>
<property name="code_generation">C++</property>