Close any active editor before rebuilding netclass lists.
Fixes: lp:1809555 * https://bugs.launchpad.net/kicad/+bug/1809555
This commit is contained in:
parent
bebbe6ed22
commit
0c0dda54bf
|
@ -177,6 +177,8 @@ void PANEL_SETUP_NETCLASSES::addNet( wxString netName, const wxString& netclass
|
|||
*/
|
||||
void PANEL_SETUP_NETCLASSES::rebuildNetclassDropdowns()
|
||||
{
|
||||
m_membershipGrid->CommitPendingChanges( true );
|
||||
|
||||
wxArrayString netclassNames;
|
||||
|
||||
for( int ii = 0; ii < m_netclassGrid->GetNumberRows(); ii++ )
|
||||
|
|
Loading…
Reference in New Issue