1. TortoiseHg
  2. TortoiseHg
  3. hgtk

Commits

Steve Borho  committed 554e81e

fileview: more proper fix for next/prev buttons

  • Participants
  • Parent commits 73189ee
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/hgqt/fileview.py

View file
                 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)