Skip to content

TToCheckable - add possibility to manage switch to next state #336

@LANDAISB

Description

@LANDAISB

Currently, TToCheckable, like ToToggleButton, automatically switchToNextState when there is a click on it.

Sometimes we use ToToggleButton to represent a state on our model.
And a click on this button just ask for a state changing. It can be a long action and sometimes fail (for some reasons).
So we don't want to change state directly on click, but only change state if and when we received an acknowledge.
Is it possible to add a flag to prevent switchToNextCheckState action ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions