mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-07 22:35:32 +00:00
Properties: fix click not working multiple times on a color
This commit is contained in:
parent
59495971ee
commit
8fcd58038b
@ -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…
Reference in New Issue
Block a user