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))
|
if (_muxer.hasPriority(priority))
|
||||||
{
|
{
|
||||||
_muxer.clearInput(priority);
|
_muxer.clearInput(priority);
|
||||||
|
if (!_sourceAutoSelectEnabled && _currentSourcePriority == priority )
|
||||||
|
{
|
||||||
|
setSourceAutoSelectEnabled(true);
|
||||||
|
}
|
||||||
|
|
||||||
// update leds if necessary
|
// update leds if necessary
|
||||||
if (priority < _muxer.getCurrentPriority())
|
if (priority < _muxer.getCurrentPriority())
|
||||||
@ -707,6 +711,7 @@ void Hyperion::clear(int priority)
|
|||||||
void Hyperion::clearall()
|
void Hyperion::clearall()
|
||||||
{
|
{
|
||||||
_muxer.clearAll();
|
_muxer.clearAll();
|
||||||
|
setSourceAutoSelectEnabled(true);
|
||||||
|
|
||||||
// update leds
|
// update leds
|
||||||
update();
|
update();
|
||||||
|
Loading…
Reference in New Issue
Block a user