* src/GrampsDb/_GrampsDbBase.py: handle close/delete of active database
* src/DbManager.py: clean up * src/DbState.py: issue database-changed signal on db close * src/GrampsDbUtils/_GedcomParse.py: fix adding of notes * src/DbLoader.py: don't give undo warning if importing into empty db svn: r8347
This commit is contained in:
@@ -735,11 +735,11 @@ class ListView(BookMarkView):
|
||||
self.tooltips = TreeTips.TreeTips(
|
||||
self.list, self.model.tooltip_column, True)
|
||||
self.dirty = False
|
||||
self.uistate.show_filter_results(self.dbstate,
|
||||
self.model.displayed,
|
||||
self.model.total)
|
||||
else:
|
||||
self.dirty = True
|
||||
self.uistate.show_filter_results(self.dbstate,
|
||||
self.model.displayed,
|
||||
self.model.total)
|
||||
|
||||
def filter_toggle_action(self,obj):
|
||||
if obj.get_active():
|
||||
@@ -853,6 +853,10 @@ class ListView(BookMarkView):
|
||||
return False
|
||||
|
||||
def change_page(self):
|
||||
if self.model:
|
||||
self.uistate.show_filter_results(self.dbstate,
|
||||
self.model.displayed,
|
||||
self.model.total)
|
||||
self.edit_action.set_sensitive(not self.dbstate.db.readonly)
|
||||
|
||||
def key_delete(self):
|
||||
|
Reference in New Issue
Block a user