* src/PageView.py: set dirty flag appropriately
svn: r6906
This commit is contained in:
parent
ca5f2c8bbd
commit
6de4daf8f0
@ -1,4 +1,5 @@
|
|||||||
2006-06-16 Don Allingham <don@gramps-project.org>
|
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
|
* src/DataViews/_MediaView.py: clear image if none is selected
|
||||||
|
|
||||||
2006-06-16 Alex Roitman <shura@gramps-project.org>
|
2006-06-16 Alex Roitman <shura@gramps-project.org>
|
||||||
|
@ -657,17 +657,23 @@ class ListView(BookMarkView):
|
|||||||
if self.active:
|
if self.active:
|
||||||
for handle in handle_list:
|
for handle in handle_list:
|
||||||
self.model.add_row_by_handle(handle)
|
self.model.add_row_by_handle(handle)
|
||||||
|
else:
|
||||||
|
self.dirty = True
|
||||||
|
|
||||||
def row_update(self,handle_list):
|
def row_update(self,handle_list):
|
||||||
self.model.prev_handle = None
|
self.model.prev_handle = None
|
||||||
if self.active:
|
if self.active:
|
||||||
for handle in handle_list:
|
for handle in handle_list:
|
||||||
self.model.update_row_by_handle(handle)
|
self.model.update_row_by_handle(handle)
|
||||||
|
else:
|
||||||
|
self.dirty = True
|
||||||
|
|
||||||
def row_delete(self,handle_list):
|
def row_delete(self,handle_list):
|
||||||
if self.active:
|
if self.active:
|
||||||
for handle in handle_list:
|
for handle in handle_list:
|
||||||
self.model.delete_row_by_handle(handle)
|
self.model.delete_row_by_handle(handle)
|
||||||
|
else:
|
||||||
|
self.dirty = True
|
||||||
|
|
||||||
def define_actions(self):
|
def define_actions(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user