forked from openlp/openlp
Change a series of "if" into if/elif
bzr-revno: 1519
This commit is contained in:
commit
f85ce8dc91
@ -676,17 +676,17 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
action = self.menu.exec_(self.serviceManagerList.mapToGlobal(point))
|
action = self.menu.exec_(self.serviceManagerList.mapToGlobal(point))
|
||||||
if action == self.editAction:
|
if action == self.editAction:
|
||||||
self.remoteEdit()
|
self.remoteEdit()
|
||||||
if action == self.maintainAction:
|
elif action == self.maintainAction:
|
||||||
self.onServiceItemEditForm()
|
self.onServiceItemEditForm()
|
||||||
if action == self.deleteAction:
|
elif action == self.deleteAction:
|
||||||
self.onDeleteFromService()
|
self.onDeleteFromService()
|
||||||
if action == self.notesAction:
|
elif action == self.notesAction:
|
||||||
self.onServiceItemNoteForm()
|
self.onServiceItemNoteForm()
|
||||||
if action == self.timeAction:
|
elif action == self.timeAction:
|
||||||
self.onStartTimeForm()
|
self.onStartTimeForm()
|
||||||
if action == self.previewAction:
|
elif action == self.previewAction:
|
||||||
self.makePreview()
|
self.makePreview()
|
||||||
if action == self.liveAction:
|
elif action == self.liveAction:
|
||||||
self.makeLive()
|
self.makeLive()
|
||||||
|
|
||||||
def onServiceItemNoteForm(self):
|
def onServiceItemNoteForm(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user