theme changes

This commit is contained in:
Tim Bentley 2011-03-20 18:42:24 +00:00
parent f0f1a5b5e1
commit caaf004f4c
2 changed files with 3 additions and 1 deletions

View File

@ -145,7 +145,8 @@ class RenderManager(object):
else: else:
self.theme = self.service_theme self.theme = self.service_theme
else: else:
if theme: # Images have a theme of -1
if theme and theme != -1:
self.theme = theme self.theme = theme
elif theme_level == ThemeLevel.Song or \ elif theme_level == ThemeLevel.Song or \
theme_level == ThemeLevel.Service: theme_level == ThemeLevel.Service:

View File

@ -944,6 +944,7 @@ class SlideController(QtGui.QWidget):
self.onSlideSelected() self.onSlideSelected()
def __checkUpdateSelectedSlide(self, row): def __checkUpdateSelectedSlide(self, row):
print row, self.previewListWidget.rowCount()
if row + 1 < self.previewListWidget.rowCount(): if row + 1 < self.previewListWidget.rowCount():
self.previewListWidget.scrollToItem( self.previewListWidget.scrollToItem(
self.previewListWidget.item(row + 1, 0)) self.previewListWidget.item(row + 1, 0))