~raoul-snyman/openlp/bug-1216785-2.0

« back to all changes in this revision

Viewing changes to openlp/plugins/songs/forms/editsongdialog.py

  • Committer: Andreas Preikschat
  • Date: 2013-06-21 08:54:46 UTC
  • mfrom: (2141.1.3 bug-1170435-2)
  • Revision ID: googol@lavabit.com-20130621085446-hynn63sf2oe8m2ku
- fixes bug #1170435 (We should not warn when verse order is empty)

Show diffs side-by-side

added added

removed removed

Lines of Context:
283
283
        self.bottomLayout.setObjectName(u'bottomLayout')
284
284
        self.warningLabel = QtGui.QLabel(editSongDialog)
285
285
        self.warningLabel.setObjectName(u'warningLabel')
286
 
        self.warningLabel.setVisible(False)
287
286
        self.bottomLayout.addWidget(self.warningLabel)
288
287
        self.buttonBox = create_button_box(editSongDialog, u'buttonBox',
289
288
            [u'cancel', u'save'])
355
354
            translate('SongsPlugin.EditSongForm', '&Remove'))
356
355
        self.audioRemoveAllButton.setText(
357
356
            translate('SongsPlugin.EditSongForm', 'Remove &All'))
358
 
        self.warningLabel.setText(
359
 
            translate('SongsPlugin.EditSongForm', '<strong>Warning:</strong>'
360
 
                ' Not all of the verses are in use.'))
 
357
        self.notAlllVersesUsed = translate('SongsPlugin.EditSongForm', '<strong>Warning:</strong>'
 
358
                ' Not all of the verses are in use.')
 
359
        self.noVerseOrder = translate('SongsPlugin.EditSongForm', '<strong>Warning:</strong>'
 
360
                ' You have not entered a verse order.')
361
361
 
362
362
def editSongDialogComboBox(parent, name):
363
363
    """