Readd yield call to give slice to system.

Note:
- wxYield does not work here, indicating the need for locking
- wxYieldIfNeeded does not work, possibly for the same reason as wxYield
- Both Layout() and m_fieldGrid->Layout() need to be called even though
  the first should call the second.

Fixes https://gitlab.com/kicad/code/kicad/issues/5690
This commit is contained in:
Seth Hillbrand 2022-01-28 12:57:51 -08:00
parent 5b8eb8f9ec
commit 79403ef075
1 changed files with 2 additions and 0 deletions

View File

@ -518,6 +518,8 @@ bool DIALOG_SYMBOL_PROPERTIES::TransferDataToWindow()
m_tcLibraryID->SetValue( UnescapeString( m_symbol->GetLibId().Format() ) );
Layout();
m_fieldsGrid->Layout();
wxSafeYield();
return true;
}