* src/GrampsCfg.py (GrampsPreferences.select): Conditional get_path().
* src/Plugins.py (PluginDialog.on_node_selected): Likewise. svn: r1858
This commit is contained in:
@@ -179,7 +179,8 @@ class PluginDialog:
|
||||
the dialog box with the description of the selected report"""
|
||||
|
||||
store,iter = self.selection.get_selected()
|
||||
path = store.get_path(iter)
|
||||
if iter:
|
||||
path = store.get_path(iter)
|
||||
if not iter or not self.imap.has_key(path):
|
||||
self.statbox.hide()
|
||||
return
|
||||
|
Reference in New Issue
Block a user