fix called function name

This commit is contained in:
Martin Baeuml
2010-12-09 16:10:49 +01:00
parent 902993bdf5
commit e6cbdb7cb8
+2 -2
View File
@@ -197,13 +197,13 @@ class MainWindow(QMainWindow):
# TODO move this to the scene
if self.model_ is not None and self.current_index_ is not None:
next_index = self.model_.getNextIndex(self.current_index_)
self.setCurrentFileIndex(next_index)
self.setCurrentIndex(next_index)
def gotoPrevious(self):
# TODO move this to the scene
if self.model_ is not None and self.current_index_ is not None:
next_index = self.model_.getNextIndex(self.current_index_)
self.setCurrentFileIndex(next_index)
self.setCurrentIndex(next_index)
def updateStatus(self, message=''):
self.statusBar().showMessage(message, 5000)