From 2c3ee0d85f194f7e8d8a3ac4f3435cf0d25795e9 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 4 Apr 2021 01:02:12 +0100 Subject: [PATCH] Don't forget CommitPendingChanges. Fixes https://gitlab.com/kicad/code/kicad/issues/8083 --- pcbnew/dialogs/dialog_edit_footprint_for_fp_editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_fp_editor.cpp b/pcbnew/dialogs/dialog_edit_footprint_for_fp_editor.cpp index 8c1e41b5cc..bfc30c5838 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_fp_editor.cpp +++ b/pcbnew/dialogs/dialog_edit_footprint_for_fp_editor.cpp @@ -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();