* src/plugins/Desbrowser.py: check for active person
svn: r6410
This commit is contained in:
		@@ -1,4 +1,5 @@
 | 
			
		||||
2006-04-21  Don Allingham  <don@gramps-project.org>
 | 
			
		||||
	* src/plugins/Desbrowser.py: check for active person
 | 
			
		||||
	* src/GrampsDb/_ReadXML.py: fix typos
 | 
			
		||||
	* src/PluginUtils/_PluginMgr.py: handle module to description mapping
 | 
			
		||||
	* src/Editors/_EditRepoRef.py: fix typos
 | 
			
		||||
 
 | 
			
		||||
@@ -65,6 +65,12 @@ class DesBrowse(Tool.Tool, ManagedWindow.ManagedWindow):
 | 
			
		||||
        self.active = dbstate.get_active_person()
 | 
			
		||||
        self.callback = callback
 | 
			
		||||
 | 
			
		||||
        if not self.active:
 | 
			
		||||
            ErrorDialog(_('Active person has not been set'),
 | 
			
		||||
                        _('You must select an active person for this '
 | 
			
		||||
                          'tool to work properly.'))
 | 
			
		||||
            return
 | 
			
		||||
 | 
			
		||||
        base = os.path.dirname(__file__)
 | 
			
		||||
        glade_file = base + os.sep + "desbrowse.glade"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user