forked from openlp/openlp
Fix songs and wildcard import
This commit is contained in:
parent
32702d48a2
commit
9e1474e851
@ -27,7 +27,7 @@ import os
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
from ctypes import *
|
from ctypes import cdll
|
||||||
from ctypes.wintypes import RECT
|
from ctypes.wintypes import RECT
|
||||||
|
|
||||||
from presentationcontroller import PresentationController, PresentationDocument
|
from presentationcontroller import PresentationController, PresentationDocument
|
||||||
|
@ -371,7 +371,8 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
author_list = author_list + unicode(author.display_name)
|
author_list = author_list + unicode(author.display_name)
|
||||||
author_audit.append(unicode(author.display_name))
|
author_audit.append(unicode(author.display_name))
|
||||||
if song.ccli_number is None or len(song.ccli_number) == 0:
|
if song.ccli_number is None or len(song.ccli_number) == 0:
|
||||||
ccli = self.parent.settings_form.GeneralTab.CCLINumber
|
ccli = QtCore.QSettings().value(u'general/ccli number',
|
||||||
|
QtCore.QVariant(u'')).toString()
|
||||||
else:
|
else:
|
||||||
ccli = unicode(song.ccli_number)
|
ccli = unicode(song.ccli_number)
|
||||||
raw_footer.append(song.title)
|
raw_footer.append(song.title)
|
||||||
|
Loading…
Reference in New Issue
Block a user