forked from openlp/openlp
Set the default delay-spinbox value from the appropiate setting. Fixes bug 1411765.
Fixes: https://launchpad.net/bugs/1411765
This commit is contained in:
parent
685b2fde32
commit
ff87971270
@ -294,6 +294,7 @@ class SlideController(DisplayController, RegistryProperties):
|
|||||||
self.delay_spin_box.setRange(1, 180)
|
self.delay_spin_box.setRange(1, 180)
|
||||||
self.delay_spin_box.setSuffix(UiStrings().Seconds)
|
self.delay_spin_box.setSuffix(UiStrings().Seconds)
|
||||||
self.delay_spin_box.setToolTip(translate('OpenLP.SlideController', 'Delay between slides in seconds.'))
|
self.delay_spin_box.setToolTip(translate('OpenLP.SlideController', 'Delay between slides in seconds.'))
|
||||||
|
self.receive_spin_delay()
|
||||||
self.toolbar.add_toolbar_widget(self.delay_spin_box)
|
self.toolbar.add_toolbar_widget(self.delay_spin_box)
|
||||||
else:
|
else:
|
||||||
self.toolbar.add_toolbar_action('goLive', icon=':/general/general_live.png',
|
self.toolbar.add_toolbar_action('goLive', icon=':/general/general_live.png',
|
||||||
|
Loading…
Reference in New Issue
Block a user