Skip to content

Conversation

@fmichel
Copy link
Contributor

@fmichel fmichel commented May 31, 2021

Hi,

Using org.controlsfx.control.action.Action.setSelected(boolean) changes the selected state of ActionCheck actions correctly but does not trigger the corresponding EventHandler.

So, changing the state programmatically, using this method, does not make the application do what it would when clicking toogleButton or checkMenu elements created with the ActionCheck (activate or deactivate the rendering of an animation for instance)

@github-actions
Copy link

Hi fmichel,

Welcome to ControlsFX and thank you for taking time to contribute to this project.

We do not recognise you as a contributor. Can you please sign ControlsFX Individual Contributor Agreement: https://cla.controlsfx.org ?

@github-actions github-actions bot added the CLA label May 31, 2021
Copy link
Collaborator

@eugener eugener left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fmichel fmichel force-pushed the fix/ActionCheck-setSelected-triggerAction branch from dae425e to 3a613e8 Compare June 1, 2021 16:15
@abhinayagarwal abhinayagarwal merged commit 2aa218c into controlsfx:jfx-13 Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants