Fix selecting items in media manager using the keyboard when preview media items when clicked is set

This commit is contained in:
Phill Ridout 2014-12-14 16:54:25 +00:00
parent e041d02c9c
commit ae852466ec
1 changed files with 2 additions and 1 deletions

View File

@ -863,7 +863,8 @@ class SlideController(DisplayController, RegistryProperties):
if service_item.is_media():
self.on_media_start(service_item)
self.slide_selected(True)
self.preview_widget.setFocus()
if service_item.from_service:
self.preview_widget.setFocus()
if old_item:
# Close the old item after the new one is opened
# This avoids the service theme/desktop flashing on screen