forked from openlp/openlp
Merge branch 'fix-sendtolive-service-item-from-remote' into 'master'
Fix sending service item to live from remote starts at nth slide See merge request openlp/openlp!333
This commit is contained in:
commit
fcb30cb4c1
@ -1104,14 +1104,12 @@ class ServiceManager(QtWidgets.QWidget, RegistryBase, Ui_ServiceManager, LogMixi
|
|||||||
|
|
||||||
:param unique_identifier: Unique Identifier for the item.
|
:param unique_identifier: Unique Identifier for the item.
|
||||||
"""
|
"""
|
||||||
row = 0
|
|
||||||
for sitem in self.service_items:
|
for sitem in self.service_items:
|
||||||
if sitem['service_item'].unique_identifier == unique_identifier:
|
if sitem['service_item'].unique_identifier == unique_identifier:
|
||||||
item = self.service_manager_list.topLevelItem(sitem['order'] - 1)
|
item = self.service_manager_list.topLevelItem(sitem['order'] - 1)
|
||||||
self.service_manager_list.setCurrentItem(item)
|
self.service_manager_list.setCurrentItem(item)
|
||||||
self.make_live(row)
|
self.make_live()
|
||||||
return
|
return
|
||||||
row += 1
|
|
||||||
|
|
||||||
def on_move_selection_up(self):
|
def on_move_selection_up(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user