-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Responsive "Effects chain" & "User controller" LEDs #4297
Conversation
src/gui/widgets/EffectRackView.cpp
Outdated
if( m_effectViews.size() == 0 ) | ||
{ | ||
fxChain()->m_enabledModel.setValue( false ); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since EffectChain::clear
already have the same functionality, I think you can implement this in EffectChain::removeEffect
instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in d3e65ca
Using (or even having) a But in this case, the I don't think I'm capable of giving a more coherent explanation of why I think |
Something more about
I think the intention was notify that user interacted with a controller when the value isn't changed(ex. select current item in combo box). However, I think we can cover such cases on controller's side(
I think so. 👍 |
Thanks for your input, @Wallacoloo and @PhysSong.
Exactly. I don't know a way to achieve this without using |
Also, removed an unused function:
setEnabled()
Closes #3620.