Commits

Steve Borho  committed 43eebc5

histselect: fix changeset selection

refs #26. I don't think this necessarily fixes it.

  • Participants
  • Parent commits 92fb38b

Comments (0)

Files changed (1)

File hggtk/histselect.py

     def _cursor_changed(self, tv):
         model, selpaths = tv.get_selection().get_selected_rows()
         if not selpaths: return
-        cs = model[selpaths[0]][1]
+        index = selpaths[0][0]
+        cs = self.history[index]['changeset'][0]
         rev, csid = cs.split(':')
         self.selected = (rev, csid)