Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

thgconfig: do not disable the apply button if the apply fails

Changeset 887a043dd524

Parent bfc7cfa0ad5c

by Giampaolo Fadel

Changes to one file · Browse files at 887a043dd524 Showing diff from parent bfc7cfa0ad5c Diff from another changeset...

 
972
973
974
 
 
975
976
977
978
979
980
981
982
983
 
972
973
974
975
976
977
978
979
980
 
 
981
982
983
@@ -972,12 +972,12 @@
  f = open(self.fn, "w")   f.write(str(self.ini))   f.close() + self._btn_apply.set_sensitive(False) + self.dirty = False   except IOError, e:   dialog.error_dialog(self, _('Unable to write configuration file'),   str(e))   - self._btn_apply.set_sensitive(False) - self.dirty = False   return 0    def run(ui, *pats, **opts):