only auto-switch on player disappearance if it was the selected one
This commit is contained in:
parent
a032e554d0
commit
c52886f061
1 changed files with 4 additions and 3 deletions
|
|
@ -30,10 +30,11 @@ QtObject {
|
||||||
playerIdx = idx;
|
playerIdx = idx;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// Selected player disappeared - switch to best alternative
|
||||||
|
_switchToBest();
|
||||||
|
} else if (playerIdx >= players.length) {
|
||||||
|
playerIdx = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Selected player disappeared - switch to most recently playing
|
|
||||||
_switchToBest();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Watch playback state changes on all players
|
// Watch playback state changes on all players
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue