Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

commit: use enable_cmd

Changeset 87282af2365b

Parent 253e711c2684

by Adrian Buehlmann

Changes to one file · Browse files at 87282af2365b Showing diff from parent 253e711c2684 Diff from another changeset...

 
626
627
628
629
630
 
631
632
633
 
626
627
628
 
 
629
630
631
632
@@ -626,8 +626,7 @@
  def check_undo(self):   can_undo = os.path.exists(self.repo.sjoin("undo")) and \   self.last_commit_id is not None - self.get_toolbutton('undo').set_sensitive(can_undo) - self.get_menuitem('undo').set_sensitive(can_undo) + self.enable_cmd('undo', can_undo)     def check_merge(self):   if self.is_merge():