Lock behavior change: do not show lock icon on unlocked inactive sources

Show unlocked icon only when active, show locked icon always
This commit is contained in:
Bruno Herbelin
2022-04-09 19:29:37 +02:00
parent 3e41655902
commit 220df8918c
4 changed files with 7 additions and 5 deletions

View File

@@ -409,6 +409,7 @@ void Source::setMode(Source::Mode m)
// the lock icon
locker_->setActive( locked_ ? 0 : 1);
locker_->child(1)->visible_ = current;
// the mixing group overlay
overlay_mixinggroup_->visible_ = mixinggroup_!= nullptr && !locked_;