* src/SourceView.py: fix multiple selection problem.
svn: r4285
This commit is contained in:
		@@ -1,3 +1,6 @@
 | 
			
		||||
2005-04-02  Don Allingham  <don@gramps-project.org>
 | 
			
		||||
	* src/SourceView.py: fix multiple selection problem.
 | 
			
		||||
 | 
			
		||||
2005-04-02  Martin Hawlisch  <Martin.Hawlisch@gmx.de>
 | 
			
		||||
	* src/EditPerson.py: Remove unneeded arguments.
 | 
			
		||||
	* src/Marriage.py: Remove unneeded arguments.
 | 
			
		||||
 
 | 
			
		||||
@@ -171,11 +171,10 @@ class SourceView:
 | 
			
		||||
                              self.topWindow)
 | 
			
		||||
 | 
			
		||||
    def on_delete_clicked(self,obj):
 | 
			
		||||
        store,node = self.selection.get_selected()
 | 
			
		||||
        if not node:
 | 
			
		||||
            return
 | 
			
		||||
        mlist = []
 | 
			
		||||
        self.selection.selected_foreach(self.blist,mlist)
 | 
			
		||||
 | 
			
		||||
        handle = store.get_value(node,_HANDLE_COL)
 | 
			
		||||
        for handle in mlist:
 | 
			
		||||
            source = self.parent.db.get_source_from_handle(handle)
 | 
			
		||||
 | 
			
		||||
            the_lists = Utils.get_source_referents(handle,self.parent.db)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user