← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~smpettit/openlp/loopbutton into lp:openlp

 

Stevan Pettit has proposed merging lp:~smpettit/openlp/loopbutton into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)

For more details, see:
https://code.launchpad.net/~smpettit/openlp/loopbutton/+merge/69014

Bug #808420

Added code to slide controller to

Reset the loop button
Reset the loop button icons

when a new item is sent live.
-- 
https://code.launchpad.net/~smpettit/openlp/loopbutton/+merge/69014
Your team OpenLP Core is requested to review the proposed merge of lp:~smpettit/openlp/loopbutton into lp:openlp.
=== modified file 'openlp/core/ui/slidecontroller.py'
--- openlp/core/ui/slidecontroller.py	2011-07-11 18:35:20 +0000
+++ openlp/core/ui/slidecontroller.py	2011-07-24 21:24:37 +0000
@@ -508,6 +508,11 @@
         self.mediabar.setVisible(False)
         self.toolbar.makeWidgetsInvisible([u'Song Menu'])
         self.toolbar.makeWidgetsInvisible(self.loopList)
+        # Reset the button
+        self.playSlidesOnce.setChecked(False)
+        self.playSlidesOnce.setIcon(build_icon(u':/media/media_time.png'))
+        self.playSlidesLoop.setChecked(False)
+        self.playSlidesLoop.setIcon(build_icon(u':/media/media_time.png'))       
         if item.is_text():
             if QtCore.QSettings().value(
                 self.parent().songsSettingsSection + u'/display songbar',


Follow ups