I've resolved the bug #902492

I got the primary screen resolution from the ScreenList class.
This commit is contained in:
Edwin Lunando 2012-05-18 17:44:28 +07:00
parent 81f0ff3870
commit 3fdb3b2991
1 changed files with 1 additions and 2 deletions

View File

@ -255,8 +255,7 @@ class ThemeManager(QtGui.QWidget):
editing form for the user to make their customisations.
"""
theme = ThemeXML()
screens = ScreenList.get_instance()
theme.set_default_header_footer(screens.current)
theme.set_default_header_footer(ScreenList.get_instance().current)
self.themeForm.theme = theme
self.themeForm.exec_()