def on_preview_double_click(self, field=None):
        """
        Triggered when a preview slide item is doubleclicked
        """
        if self.service_item:
            if Settings().value('advanced/double click live'):
                # Live and Preview have issues if we have video or presentations
                # playing in both at the same time.
                if self.service_item.is_command():
                    Registry().execute('%s_stop' % 
self.service_item.name.lower(), [self.service_item, self.is_live])
                if self.service_item.is_media():
                    self.on_media_close()
                self.on_go_live()
            else:
                self.on_preview_add_to_service()

As TRB143 pointed out, this code  is based on double click to go to live 
setting.
It would be very easy to "fix" this by removing the: else: 
self.on_preview_add_to_service(),
but this functionality would be then lost. A better solution would be to have 
it chek if item is 
already in Service.

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1462420

Title:
  Double click on the preview duplicated the element in the service
  manger

Status in OpenLP:
  Confirmed

Bug description:
  Hello
  I use OpenLP 2.1.5 on Windwos 7 and when i double click on a picture or a 
custom slide or a verse of a song, the song /slide / picture is duplicated in 
the service manager. 
  This occur every time you double click on a slide / song /picture. 

  Thanks you guys for theis great software and sorry for my bad english.

  Regards

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1462420/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to