Helpviewer/History/HistoryMenu.py

branch
5_0_x
changeset 534
7d247a767510
parent 55
b5c84934de9c
child 792
a13346916170
--- a/Helpviewer/History/HistoryMenu.py	Mon Aug 30 11:06:25 2010 +0200
+++ b/Helpviewer/History/HistoryMenu.py	Mon Aug 30 19:01:55 2010 +0200
@@ -173,7 +173,7 @@
         treeIndex = self.__treeModel.mapFromSource(historyIndex)
         treeIndexParent = treeIndex.parent()
         
-        soureRow = self.sourceModel().mapToSource(treeIndexParent).row()
+        sourceRow = self.sourceModel().mapToSource(treeIndexParent).row()
         bumpedItems = self.bumpedRows()
         if bumpedItems <= self.MOVEDROWS and \
            bumpedItems == self.sourceModel().rowCount(self.sourceModel().index(0, 0)):
@@ -308,4 +308,4 @@
                     QMessageBox.No | \
                     QMessageBox.Yes),
                 QMessageBox.No) == QMessageBox.Yes:
-            self.__historyManager.clear()
\ No newline at end of file
+            self.__historyManager.clear()

eric ide

mercurial