mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
fix state of autoselect (#361)
This commit is contained in:
parent
b1981085d3
commit
ef14eb08c9
@ -691,6 +691,10 @@ void Hyperion::clear(int priority)
|
||||
if (_muxer.hasPriority(priority))
|
||||
{
|
||||
_muxer.clearInput(priority);
|
||||
if (!_sourceAutoSelectEnabled && _currentSourcePriority == priority )
|
||||
{
|
||||
setSourceAutoSelectEnabled(true);
|
||||
}
|
||||
|
||||
// update leds if necessary
|
||||
if (priority < _muxer.getCurrentPriority())
|
||||
@ -707,6 +711,7 @@ void Hyperion::clear(int priority)
|
||||
void Hyperion::clearall()
|
||||
{
|
||||
_muxer.clearAll();
|
||||
setSourceAutoSelectEnabled(true);
|
||||
|
||||
// update leds
|
||||
update();
|
||||
|
Loading…
Reference in New Issue
Block a user