Allow setting "mixed" properties to a value.
This commit is contained in:
parent
3af4e889b9
commit
2db6b25b51
|
@ -67,7 +67,7 @@ bool PG_UNIT_EDITOR::GetValueFromControl( wxVariant& aVariant, wxPGProperty* aPr
|
|||
|
||||
long result = m_unitBinder->GetValue();
|
||||
|
||||
bool changed = ( result != aVariant.GetLong() );
|
||||
bool changed = ( aVariant.IsNull() || result != aVariant.GetLong() );
|
||||
|
||||
if( changed )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue