From 2d50f33fb72aa3498b83081f6708bb40b1c8e132 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 17 Jun 2006 03:55:00 +0000 Subject: [PATCH] * src/PageView.py: set dirty flag appropriately svn: r6906 --- ChangeLog | 1 + src/PageView.py | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 159b43a4c..1268d9ad0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2006-06-16 Don Allingham + * src/PageView.py: set dirty flag appropriately * src/DataViews/_MediaView.py: clear image if none is selected 2006-06-16 Alex Roitman diff --git a/src/PageView.py b/src/PageView.py index d5eb74894..a0a7d396f 100644 --- a/src/PageView.py +++ b/src/PageView.py @@ -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): """