7533: Check for active person in session log gramplet
This commit is contained in:
parent
ec9dbcc045
commit
46b2f0a169
@ -65,7 +65,8 @@ class LogGramplet(Gramplet):
|
|||||||
lambda handles: self.log('Family', 'Edited', handles))
|
lambda handles: self.log('Family', 'Edited', handles))
|
||||||
|
|
||||||
def active_changed(self, handle):
|
def active_changed(self, handle):
|
||||||
self.log('Person', 'Selected', [handle])
|
if handle:
|
||||||
|
self.log('Person', 'Selected', [handle])
|
||||||
|
|
||||||
def log(self, ltype, action, handles):
|
def log(self, ltype, action, handles):
|
||||||
for handle in set(handles):
|
for handle in set(handles):
|
||||||
|
Loading…
Reference in New Issue
Block a user