forked from openlp/openlp
changed constructor
This commit is contained in:
parent
cbaf8beb1d
commit
0b22f36e6c
@ -57,7 +57,7 @@ class CustomMediaItem(MediaManagerItem):
|
||||
|
||||
def __init__(self, parent, plugin):
|
||||
self.icon_path = u'custom/custom'
|
||||
MediaManagerItem.__init__(self, parent, plugin)
|
||||
super(CustomMediaItem, self).__init__(parent, plugin)
|
||||
self.edit_custom_form = EditCustomForm(self, self.main_window, self.plugin.manager)
|
||||
self.single_service_item = False
|
||||
self.quick_preview_allowed = True
|
||||
|
@ -71,7 +71,7 @@ class SongMediaItem(MediaManagerItem):
|
||||
|
||||
def __init__(self, parent, plugin):
|
||||
self.icon_path = u'songs/song'
|
||||
MediaManagerItem.__init__(self, parent, plugin)
|
||||
super(SongMediaItem, self).__init__(parent, plugin)
|
||||
self.single_service_item = False
|
||||
# Holds information about whether the edit is remotely triggered and which Song is required.
|
||||
self.remote_song = -1
|
||||
|
Loading…
Reference in New Issue
Block a user