Comment 10 for bug 1166095

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Oh I am sorry, I have not read #7 and #8 before #9.

"[AutoDJ]", "enabled" behaves exactly like "toggle_autodj" when setting from midi mapping or keyboard, because it has setButtonMode(ControlPushButton::TOGGLE)
The only difference is that it reflects the current "enabled" state of the AutoDJ.
and when you use setValue from script there is no toggle function.
Florians example is correct.

So it was save to me to delete toggle_autodj.