Special case unspecified property value (i.e. <...>)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13200
This commit is contained in:
parent
035ff27b76
commit
e3b8475a3d
|
@ -94,7 +94,7 @@ void PG_UNIT_EDITOR::UpdateControl( wxPGProperty* aProperty, wxWindow* aCtrl ) c
|
|||
{
|
||||
m_unitBinder->ChangeValue( var.GetDouble() );
|
||||
}
|
||||
else
|
||||
else if( !aProperty->IsValueUnspecified() )
|
||||
{
|
||||
wxFAIL_MSG( wxT( "PG_UNIT_EDITOR should only be used with numeric properties!" ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue