Pre-select current net in net selector.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16320
This commit is contained in:
parent
e000acb768
commit
d3ab677197
|
@ -184,6 +184,9 @@ public:
|
|||
// Better to clear it.
|
||||
m_filterCtrl->Clear();
|
||||
|
||||
m_listBox->SetStringSelection( GetStringValue() );
|
||||
m_filterCtrl->SetFocus();
|
||||
|
||||
// The updateSize() call in GetAdjustedSize() leaves the height off-by-one for
|
||||
// some reason, so do it again.
|
||||
updateSize();
|
||||
|
|
Loading…
Reference in New Issue