* src/DisplayModels.py: fix place and source lists

* src/PlaceView.py: fix place lists
* src/SourceView.py: fix source lists


svn: r3515
This commit is contained in:
Don Allingham
2004-08-27 03:41:57 +00:00
parent f9f9ea670b
commit b147e4e72f
5 changed files with 24 additions and 6 deletions

View File

@ -42,7 +42,7 @@ import const
from QuestionDialog import QuestionDialog
_HANDLE_COL = 5
_HANDLE_COL = 7
#-------------------------------------------------------------------------
#
@ -241,6 +241,7 @@ class SourceView:
list_store, node = self.selection.get_selected()
if node:
handle = list_store.get_value(node,_HANDLE_COL)
print handle
source = self.parent.db.get_source_from_handle(handle)
EditSource.EditSource(source, self.parent.db, self.parent,
self.topWindow, self.update_display)