forked from openlp/openlp
Song edit bug - save and preview on new song
This commit is contained in:
parent
dde75e2288
commit
e092dc85cd
@ -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)
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user