Fix the parent that whydoubt sneaked in

This commit is contained in:
Jonathan Corwin 2011-05-29 21:46:13 +01:00
parent 02da22c349
commit 9cd536e137

View File

@ -199,7 +199,7 @@ class SlideController(QtGui.QWidget):
u':/media/media_time.png', False, UiStrings().LiveToolbar)
self.playSlidesOnce.setText(
translate('OpenLP.SlideController', 'Play Slides to End'))
if QtCore.QSettings().value(self.parent.generalSettingsSection +
if QtCore.QSettings().value(self.parent().generalSettingsSection +
u'/enable slide loop', QtCore.QVariant(True)).toBool():
self.playSlidesMenu.setDefaultAction(self.playSlidesLoop)
else: