Don't forget CommitPendingChanges.

Fixes https://gitlab.com/kicad/code/kicad/issues/8083
This commit is contained in:
Jeff Young 2021-04-04 01:02:12 +01:00
parent 329577cc5c
commit 2c3ee0d85f
1 changed files with 2 additions and 2 deletions

View File

@ -603,10 +603,10 @@ bool DIALOG_FOOTPRINT_FP_EDITOR::TransferDataFromWindow()
if( !DIALOG_SHIM::TransferDataFromWindow() )
return false;
if( !m_PanelGeneral->TransferDataFromWindow() )
if( !m_itemsGrid->CommitPendingChanges() )
return false;
if( !m_Panel3D->TransferDataFromWindow() )
if( !m_modelsGrid->CommitPendingChanges() )
return false;
auto view = m_frame->GetCanvas()->GetView();