* src/PageView.py: set dirty flag appropriately

svn: r6906
This commit is contained in:
Don Allingham 2006-06-17 03:55:00 +00:00
parent ca5f2c8bbd
commit 6de4daf8f0
2 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,5 @@
2006-06-16 Don Allingham <don@gramps-project.org>
* src/PageView.py: set dirty flag appropriately
* src/DataViews/_MediaView.py: clear image if none is selected
2006-06-16 Alex Roitman <shura@gramps-project.org>

View File

@ -657,17 +657,23 @@ class ListView(BookMarkView):
if self.active:
for handle in handle_list:
self.model.add_row_by_handle(handle)
else:
self.dirty = True
def row_update(self,handle_list):
self.model.prev_handle = None
if self.active:
for handle in handle_list:
self.model.update_row_by_handle(handle)
else:
self.dirty = True
def row_delete(self,handle_list):
if self.active:
for handle in handle_list:
self.model.delete_row_by_handle(handle)
else:
self.dirty = True
def define_actions(self):
"""