Allow setting "mixed" properties to a value.

This commit is contained in:
Jeff Young 2022-11-15 15:47:03 +00:00
parent 3af4e889b9
commit 2db6b25b51
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ bool PG_UNIT_EDITOR::GetValueFromControl( wxVariant& aVariant, wxPGProperty* aPr
long result = m_unitBinder->GetValue(); long result = m_unitBinder->GetValue();
bool changed = ( result != aVariant.GetLong() ); bool changed = ( aVariant.IsNull() || result != aVariant.GetLong() );
if( changed ) if( changed )
{ {