2798: Gramplet 'Fan Chart' throws error when right-clicked prior to defining Home Person.
svn: r12288
This commit is contained in:
parent
a10093408e
commit
f0852c0a41
@ -506,6 +506,7 @@ class FanChartWidget(gtk.Widget):
|
|||||||
if radius < self.center:
|
if radius < self.center:
|
||||||
# right mouse
|
# right mouse
|
||||||
if event.button == 3 and self.context_popup_callback:
|
if event.button == 3 and self.context_popup_callback:
|
||||||
|
if self.data[0][0][1]:
|
||||||
self.context_popup_callback(widget, event,
|
self.context_popup_callback(widget, event,
|
||||||
self.data[0][0][1].handle)
|
self.data[0][0][1].handle)
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user