Attempt to fix ctrl-enter from parameter grid on MSW.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15244
This commit is contained in:
Jeff Young 2023-08-29 00:08:53 +01:00
parent 9636321c09
commit f6a901f84a
1 changed files with 1 additions and 0 deletions

View File

@ -321,6 +321,7 @@ template <typename T_symbol, typename T_field>
bool DIALOG_SIM_MODEL<T_symbol, T_field>::TransferDataFromWindow() bool DIALOG_SIM_MODEL<T_symbol, T_field>::TransferDataFromWindow()
{ {
m_pinAssignmentsGrid->CommitPendingChanges(); m_pinAssignmentsGrid->CommitPendingChanges();
m_paramGrid->GetGrid()->CommitChangesFromEditor();
if( !DIALOG_SIM_MODEL_BASE::TransferDataFromWindow() ) if( !DIALOG_SIM_MODEL_BASE::TransferDataFromWindow() )
return false; return false;