Fix for another occurrence of bug #1296574. Copied from lp:~erik-lundin/openlp/bug-1296574

Fixes: https://launchpad.net/bugs/1296574
This commit is contained in:
Tomas Groth 2014-10-27 14:11:55 +01:00
parent 3d387cb296
commit d2f388bb59

View File

@ -1245,7 +1245,7 @@ class SlideController(DisplayController, RegistryProperties):
if event.timerId() == self.timer_id:
self.on_slide_selected_next(self.play_slides_loop.isChecked())
def on_edit_song(self):
def on_edit_song(self, field=None):
"""
From the preview display requires the service Item to be editied
"""
@ -1254,7 +1254,7 @@ class SlideController(DisplayController, RegistryProperties):
if new_item:
self.add_service_item(new_item)
def on_preview_add_to_service(self):
def on_preview_add_to_service(self, field=None):
"""
From the preview display request the Item to be added to service
"""