Browse Source

Allow setting "mixed" properties to a value.

7.0
Jeff Young 3 years ago
parent
commit
2db6b25b51
  1. 2
      common/properties/pg_editors.cpp

2
common/properties/pg_editors.cpp

@ -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…
Cancel
Save