Song edit bug - save and preview on new song

This commit is contained in:
Tim Bentley 2010-03-11 12:53:20 +00:00
parent dde75e2288
commit e092dc85cd
2 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,7 @@ class ServiceItem(object):
else:
self.RenderManager.set_override_theme(self.theme)
format = self._display_frames[row][u'text'].split(u'\n')
#if screen blank then do not display footer
if format[0]:
frame = self.RenderManager.generate_slide(format,
self.raw_footer)

View File

@ -169,6 +169,8 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
self.loadAuthors()
self.loadTopics()
self.loadBooks()
#it's a new song to preview is not possible
self.previewButton.setVisible(False)
def loadSong(self, id, preview):
log.debug(u'Load Song')