Commits

Steve Borho  committed 554e81e

fileview: more proper fix for next/prev buttons

  • Participants
  • Parent commits 73189ee

Comments (0)

Files changed (1)

File tortoisehg/hgqt/fileview.py

                 self.sci.verticalScrollBar().setValue(lo)
                 break
         else:
-            last = False
+            last = True
         self.actionNextDiff.setEnabled(not last)
         self.actionPrevDiff.setEnabled(True)
 
                 self.sci.verticalScrollBar().setValue(lo)
                 break
         else:
-            first = False
+            first = True
         self.actionNextDiff.setEnabled(True)
         self.actionPrevDiff.setEnabled(not first)