projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactoring : ajout d'un décorateur pour lire des données sans chager la position...
[minwii.git]
/
src
/
minwii
/
widgets
/
playingscreen.py
diff --git
a/src/minwii/widgets/playingscreen.py
b/src/minwii/widgets/playingscreen.py
index
0591929
..
0e179dd
100755
(executable)
--- a/
src/minwii/widgets/playingscreen.py
+++ b/
src/minwii/widgets/playingscreen.py
@@
-293,7
+293,10
@@
class SongPlayingScreen(PlayingScreenBase) :
if self.currentColumn:
self.currentColumn.update(False)
note, verseIndex = self.noteIterator.next()
if self.currentColumn:
self.currentColumn.update(False)
note, verseIndex = self.noteIterator.next()
- syllabus = note.lyrics[verseIndex].syllabus()
+ try :
+ syllabus = note.lyrics[verseIndex].syllabus()
+ except IndexError :
+ syllabus = u'…'
column = self.columns[note.midi]
column.update(True, syllabus)
self.currentColumn = column
column = self.columns[note.midi]
column.update(True, syllabus)
self.currentColumn = column