Browse Source

Properties: fix click not working multiple times on a color

newinvert
Jon Evans 2 years ago
parent
commit
8fcd58038b
  1. 6
      common/properties/pg_editors.cpp

6
common/properties/pg_editors.cpp

@ -252,5 +252,11 @@ wxPGWindowList PG_COLOR_EDITOR::CreateControls( wxPropertyGrid* aGrid, wxPGPrope
aGrid->ChangePropertyValue( aProperty, val );
}
// Deselect property so that this gets called again on next click
aGrid->CallAfter( [=]()
{
aGrid->RemoveFromSelection( aProperty );
} );
return nullptr;
}
Loading…
Cancel
Save