forked from openlp/openlp
Fixed crash when non-existent monitor is called for in OpenLP.conf
bzr-revno: 815
This commit is contained in:
commit
0993d79056
@ -61,9 +61,10 @@ class ScreenList(object):
|
||||
"""
|
||||
Set up the current screen dimensions
|
||||
"""
|
||||
log.debug(u'set_override_display %s', number, )
|
||||
log.debug(u'set_current_display %s', number, )
|
||||
if number + 1 > self.display_count:
|
||||
self.current = self.screen_list[0]
|
||||
self.override = copy.deepcopy(self.current)
|
||||
self.current_display = 0
|
||||
else:
|
||||
self.current = self.screen_list[number]
|
||||
|
Loading…
Reference in New Issue
Block a user