forked from openlp/openlp
- fixed bug #793537 "Traceback when hooking up 2nd monitor"
bzr-revno: 1617 Fixes: https://launchpad.net/bugs/793537
This commit is contained in:
commit
b8d452bda5
@ -106,7 +106,7 @@ class ScreenList(object):
|
|||||||
"""
|
"""
|
||||||
# Do not log at start up.
|
# Do not log at start up.
|
||||||
if changed_screen != -1:
|
if changed_screen != -1:
|
||||||
log.info(u'screen_count_changed %d' % number)
|
log.info(u'screen_count_changed %d' % self.desktop.numScreens())
|
||||||
# Remove unplugged screens.
|
# Remove unplugged screens.
|
||||||
for screen in copy.deepcopy(self.screen_list):
|
for screen in copy.deepcopy(self.screen_list):
|
||||||
if screen[u'number'] == self.desktop.numScreens():
|
if screen[u'number'] == self.desktop.numScreens():
|
||||||
|
Loading…
Reference in New Issue
Block a user