Show double verses at the end of songs in stageview.

They used to be hidden because the function checked to see if there are enough slides remaining. This is a simple off by one error

bzr-revno: 2587
Fixes: https://launchpad.net/bugs/1510572
This commit is contained in:
simon.hanna@serve-me.info 2015-12-30 20:39:20 +01:00 committed by Tomas Groth
commit 339a8e9cd6

View File

@ -61,7 +61,7 @@ window.OpenLP = {
}
else {
if ((slide["text"] == data.results.slides[lastChange]["text"]) &&
(data.results.slides.length > idx + (idx - lastChange))) {
(data.results.slides.length >= idx + (idx - lastChange))) {
// If the tag hasn't changed, check to see if the same verse
// has been repeated consecutively. Note the verse may have been
// split over several slides, so search through. If so, repeat the tag.