fixed object name

This commit is contained in:
Andreas Preikschat 2011-05-25 11:10:57 +02:00
parent 981c2f8c5b
commit 98d7cb5fe5

View File

@ -185,6 +185,7 @@ class SlideController(QtGui.QWidget):
u'Start Loop', u':/media/media_time.png', u'Start Loop', u':/media/media_time.png',
translate('OpenLP.SlideController', 'Start continuous loop'), translate('OpenLP.SlideController', 'Start continuous loop'),
self.onStartLoop) self.onStartLoop)
startLoop.setObjectName(u'startLoop')
action_list = ActionList.get_instance() action_list = ActionList.get_instance()
action_list.add_action(startLoop, UiStrings().LiveToolbar) action_list.add_action(startLoop, UiStrings().LiveToolbar)
stopLoop = self.toolbar.addToolbarButton( stopLoop = self.toolbar.addToolbarButton(
@ -192,6 +193,7 @@ class SlideController(QtGui.QWidget):
u'Stop Loop', u':/media/media_stop.png', u'Stop Loop', u':/media/media_stop.png',
translate('OpenLP.SlideController', 'Stop continuous loop'), translate('OpenLP.SlideController', 'Stop continuous loop'),
self.onStopLoop) self.onStopLoop)
stopLoop.setObjectName(u'stopLoop')
action_list.add_action(stopLoop, UiStrings().LiveToolbar) action_list.add_action(stopLoop, UiStrings().LiveToolbar)
self.toogleLoop = shortcut_action(self, u'toogleLoop', self.toogleLoop = shortcut_action(self, u'toogleLoop',
[QtGui.QKeySequence(u'L')], self.onToggleLoop, [QtGui.QKeySequence(u'L')], self.onToggleLoop,