forked from openlp/openlp
Custom display footer if Credit required
This commit is contained in:
parent
2f09c70274
commit
1b1b811cb7
@ -57,7 +57,7 @@ class CustomTab(SettingsTab):
|
||||
def retranslateUi(self):
|
||||
self.CustomModeGroupBox.setTitle(self.trUtf8('Custom Display'))
|
||||
self.DisplayFooterCheckBox.setText(
|
||||
self.trUtf8('Suppress display of footer:'))
|
||||
self.trUtf8('Display Footer:'))
|
||||
|
||||
def onDisplayFooterCheckBoxChanged(self, check_state):
|
||||
self.displayFooter = False
|
||||
|
@ -159,7 +159,8 @@ class CustomMediaItem(MediaManagerItem):
|
||||
service_item.title = title
|
||||
for slide in raw_slides:
|
||||
service_item.add_from_text(slide[:30], slide)
|
||||
if str_to_bool(self.parent.config.get_config(u'display footer', True)):
|
||||
if str_to_bool(self.parent.config.get_config(u'display footer', True)) or \
|
||||
len(credit) > 0:
|
||||
raw_footer.append(title + u' '+ credit)
|
||||
else:
|
||||
raw_footer.append(u'')
|
||||
|
Loading…
Reference in New Issue
Block a user