forked from openlp/openlp
Fix selecting items in media manager using the keyboard when preview media items when clicked is set
This commit is contained in:
parent
e041d02c9c
commit
ae852466ec
|
@ -863,7 +863,8 @@ class SlideController(DisplayController, RegistryProperties):
|
||||||
if service_item.is_media():
|
if service_item.is_media():
|
||||||
self.on_media_start(service_item)
|
self.on_media_start(service_item)
|
||||||
self.slide_selected(True)
|
self.slide_selected(True)
|
||||||
self.preview_widget.setFocus()
|
if service_item.from_service:
|
||||||
|
self.preview_widget.setFocus()
|
||||||
if old_item:
|
if old_item:
|
||||||
# Close the old item after the new one is opened
|
# Close the old item after the new one is opened
|
||||||
# This avoids the service theme/desktop flashing on screen
|
# This avoids the service theme/desktop flashing on screen
|
||||||
|
|
Loading…
Reference in New Issue