forked from openlp/openlp
Fix the handler passing False
Fixes: https://launchpad.net/bugs/1672777
This commit is contained in:
parent
9606b99976
commit
4f769d5622
@ -216,7 +216,7 @@ class Ui_ServiceManager(object):
|
|||||||
text=translate('OpenLP.ServiceManager', 'Go Live'), icon=':/general/general_live.png',
|
text=translate('OpenLP.ServiceManager', 'Go Live'), icon=':/general/general_live.png',
|
||||||
tooltip=translate('OpenLP.ServiceManager', 'Send the selected item to Live.'),
|
tooltip=translate('OpenLP.ServiceManager', 'Send the selected item to Live.'),
|
||||||
category=UiStrings().Service,
|
category=UiStrings().Service,
|
||||||
triggers=self.make_live)
|
triggers=self.on_make_live_action_triggered)
|
||||||
self.layout.addWidget(self.order_toolbar)
|
self.layout.addWidget(self.order_toolbar)
|
||||||
# Connect up our signals and slots
|
# Connect up our signals and slots
|
||||||
self.theme_combo_box.activated.connect(self.on_theme_combo_box_selected)
|
self.theme_combo_box.activated.connect(self.on_theme_combo_box_selected)
|
||||||
@ -1730,6 +1730,15 @@ class ServiceManager(QtWidgets.QWidget, RegistryBase, Ui_ServiceManager, LogMixi
|
|||||||
self.service_items[item]['service_item'].update_theme(theme)
|
self.service_items[item]['service_item'].update_theme(theme)
|
||||||
self.regenerate_service_items(True)
|
self.regenerate_service_items(True)
|
||||||
|
|
||||||
|
def on_make_live_action_triggered(self, checked):
|
||||||
|
"""
|
||||||
|
Handle `make_live_action` when the action is triggered.
|
||||||
|
|
||||||
|
:param bool checked: Not Used.
|
||||||
|
:rtype: None
|
||||||
|
"""
|
||||||
|
self.make_live()
|
||||||
|
|
||||||
def get_drop_position(self):
|
def get_drop_position(self):
|
||||||
"""
|
"""
|
||||||
Getter for drop_position. Used in: MediaManagerItem
|
Getter for drop_position. Used in: MediaManagerItem
|
||||||
|
Loading…
Reference in New Issue
Block a user