Properties: give focus back to canvas after committing changes
Only needed on MSW, but safe to enable everywhere I think Fixes https://gitlab.com/kicad/code/kicad/-/issues/13275
This commit is contained in:
parent
ab6aa08f33
commit
dee5357d4d
|
@ -102,6 +102,11 @@ void PCB_PROPERTIES_PANEL::AfterCommit()
|
||||||
|
|
||||||
pgProp->Enable( writeable );
|
pgProp->Enable( writeable );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CallAfter( [&]()
|
||||||
|
{
|
||||||
|
static_cast<PCB_EDIT_FRAME*>( m_frame )->GetCanvas()->SetFocus();
|
||||||
|
} );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue