Changeset 87282af2365b…
Parent 253e711c2684…
by
Changes to one file · Browse files at 87282af2365b Showing diff from parent 253e711c2684 Diff from another changeset...
@@ -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():
|
Loading...