Set the default delay-spinbox value from the appropiate setting. Fixes bug 1411765.

Fixes: https://launchpad.net/bugs/1411765
This commit is contained in:
Tomas Groth 2015-01-18 20:52:49 +00:00
parent 685b2fde32
commit ff87971270

View File

@ -294,6 +294,7 @@ class SlideController(DisplayController, RegistryProperties):
self.delay_spin_box.setRange(1, 180)
self.delay_spin_box.setSuffix(UiStrings().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)
else:
self.toolbar.add_toolbar_action('goLive', icon=':/general/general_live.png',