summaryrefslogtreecommitdiff
path: root/SoftwareProperties/SoftwareProperties.py
diff options
context:
space:
mode:
Diffstat (limited to 'SoftwareProperties/SoftwareProperties.py')
-rw-r--r--SoftwareProperties/SoftwareProperties.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py
index 0e892182..d3fef36a 100644
--- a/SoftwareProperties/SoftwareProperties.py
+++ b/SoftwareProperties/SoftwareProperties.py
@@ -288,12 +288,14 @@ class SoftwareProperties(SimpleGladeApp):
self.sourceslist.refresh()
self.reload_sourceslist()
self.button_revert.set_sensitive(False)
+ self.modified = False
def modified_sourceslist(self):
"""The sources list was changed and now needs to be saved and reloaded"""
self.button_revert.set_sensitive(True)
self.save_sourceslist()
self.reload_sourceslist()
+ self.modified = True
def render_source(self, source):
"""Render a nice output to show the source in a treeview"""