Small Fixes

This commit is contained in:
Jonathan Stafford 2012-01-23 17:33:12 +08:00
parent 4f0cd62f63
commit 2c472ff38e
2 changed files with 1 additions and 2 deletions

View File

@ -838,7 +838,7 @@ class ServiceManager(QtGui.QWidget):
serviceIterator = QtGui.QTreeWidgetItemIterator(self.serviceManagerList)
while serviceIterator.value():
if serviceIterator.value() == selected:
if message == 'last slide' and prevItemLastSlide:
if message == u'last slide' and prevItemLastSlide:
pos = prevItem.data(0, QtCore.Qt.UserRole).toInt()[0]
check_expanded = self.serviceItems[pos - 1][u'expanded']
self.serviceManagerList.setCurrentItem(prevItemLastSlide)

View File

@ -1225,7 +1225,6 @@ class SlideController(Controller):
if self.slide_advance == SlideAdvance.Wrap:
row = self.previewListWidget.rowCount() - 1
elif self.slide_advance == SlideAdvance.Next:
# self.servicePrevious()
self.keypress_queue.append(u'previous last slide')
self._process_queue()
return