mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 02:33:15 +02:00
Fix unit binder dropdown not working on windows
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20626
This commit is contained in:
parent
0c35068e8d
commit
0f97f51ba1
@ -235,7 +235,11 @@ void UNIT_BINDER::onComboBox( wxCommandEvent& aEvent )
|
|||||||
const wxString value = combo->GetStringSelection();
|
const wxString value = combo->GetStringSelection();
|
||||||
const long long int conv = ValueFromString( *m_iuScale, m_units, value, m_dataType );
|
const long long int conv = ValueFromString( *m_iuScale, m_units, value, m_dataType );
|
||||||
|
|
||||||
SetValue( conv );
|
CallAfter(
|
||||||
|
[this, conv]
|
||||||
|
{
|
||||||
|
SetValue( conv );
|
||||||
|
} );
|
||||||
|
|
||||||
aEvent.Skip();
|
aEvent.Skip();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user