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