← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~trb143/openlp/bug-1097898 into lp:openlp

 

Tim Bentley has proposed merging lp:~trb143/openlp/bug-1097898 into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)
Related bugs:
  Bug #1097898 in OpenLP: "Exiting liveview with Alt-F4 causes OpenLP to become unstable"
  https://bugs.launchpad.net/openlp/+bug/1097898

For more details, see:
https://code.launchpad.net/~trb143/openlp/bug-1097898/+merge/142955

Change the focus after each update to allow ESC to be enabled.
Tested with looping and it works

Will do a 2.0 patch when this gets in
-- 
https://code.launchpad.net/~trb143/openlp/bug-1097898/+merge/142955
Your team OpenLP Core is requested to review the proposed merge of lp:~trb143/openlp/bug-1097898 into lp:openlp.
=== modified file 'openlp/core/ui/slidecontroller.py'
--- openlp/core/ui/slidecontroller.py	2012-12-29 20:56:56 +0000
+++ openlp/core/ui/slidecontroller.py	2013-01-11 17:21:25 +0000
@@ -995,6 +995,7 @@
             self.selectedRow = row
             self.__checkUpdateSelectedSlide(row)
         Receiver.send_message(u'slidecontroller_%s_changed' % self.typePrefix, row)
+        self.display.setFocus()
 
     def onSlideChange(self, row):
         """


Follow ups