Hello,
Maybe it's just me doing something stupid, but something seems funny here. I have two check-buttons, one to turn looping on and off, and the other to turn repeat on and off. I wanted these two to toggle so that when looping is enabled, the repeat button is greyed-out, and vise versa.
So I have
LoopButton:
- Condition: (playlist.isLoop) and (not playlist.isRepeat)
- Action (state 1): playlist.setLoop(true);playlist.setRepeat(false)
RepeatButton:
- Condition: (playlist.isRepeat) and (not playlist.isLoop)
- Action (state 1): playlist.setRepeat(true);playlist.setLoop(false)
Here's what happens: When I click on the LoopButton, looping is activated, but the RepeatButton is "activated" as well (yet the repeat functionality itself is not activated). After this, clicking on the RepeatButton does nothing to enable or disable the button state or the repeat functionality.
The really strange thing is that if I change the RepeatButton condition to:
false and (not playlist.isLoop)
(...which should always be false, no?)
then clicking on the LoopButton activates the RepeatButton!
I don't get it. Any help/ideas? Is this a bug?
Levi