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:
Tim Bentley 2021-06-24 20:46:48 +00:00
commit fcb30cb4c1

View File

@ -1104,14 +1104,12 @@ class ServiceManager(QtWidgets.QWidget, RegistryBase, Ui_ServiceManager, LogMixi
:param unique_identifier: Unique Identifier for the item.
"""
row = 0
for sitem in self.service_items:
if sitem['service_item'].unique_identifier == unique_identifier:
item = self.service_manager_list.topLevelItem(sitem['order'] - 1)
self.service_manager_list.setCurrentItem(item)
self.make_live(row)
self.make_live()
return
row += 1
def on_move_selection_up(self):
"""