forked from openlp/openlp
fix focus
This commit is contained in:
parent
6a21258c47
commit
837013763a
@ -851,6 +851,7 @@ 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 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
Block a user