Preview Edit now works

This commit is contained in:
Tim Bentley 2011-02-18 19:13:37 +00:00
parent f1850d4147
commit 1f7d6b635d

View File

@ -678,8 +678,8 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
A button (QPushButton). A button (QPushButton).
""" """
log.debug(u'onPreview') log.debug(u'onPreview')
if unicode(button.objectName()) == u'previewButton' and \ if unicode(button.objectName()) == u'previewButton':
self.saveSong(True): self.saveSong(True)
Receiver.send_message(u'songs_preview') Receiver.send_message(u'songs_preview')
def clearCaches(self): def clearCaches(self):