Commit in-place edits before transfering data from window.
Fixes: lp:1592767 * https://bugs.launchpad.net/kicad/+bug/1592767
This commit is contained in:
parent
70fab83b4f
commit
064f4c4ba7
|
@ -551,6 +551,9 @@ static void gridRow2class( wxGrid* grid, int row, NETCLASSPTR nc )
|
||||||
|
|
||||||
void DIALOG_DESIGN_RULES::CopyRulesListToBoard()
|
void DIALOG_DESIGN_RULES::CopyRulesListToBoard()
|
||||||
{
|
{
|
||||||
|
// Commit any pending in-place edits first
|
||||||
|
m_grid->SaveEditControlValue();
|
||||||
|
|
||||||
NETCLASSES& netclasses = m_BrdSettings->m_NetClasses;
|
NETCLASSES& netclasses = m_BrdSettings->m_NetClasses;
|
||||||
|
|
||||||
// Remove all netclasses from board. We'll copy new list after
|
// Remove all netclasses from board. We'll copy new list after
|
||||||
|
|
Loading…
Reference in New Issue