2798: Gramplet 'Fan Chart' throws error when right-clicked prior to defining Home Person.
svn: r12289
This commit is contained in:
parent
baba8c7bd5
commit
e2e6d4972e
@ -506,8 +506,9 @@ 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:
|
||||||
self.context_popup_callback(widget, event,
|
if self.data[0][0][1]:
|
||||||
self.data[0][0][1].handle)
|
self.context_popup_callback(widget, event,
|
||||||
|
self.data[0][0][1].handle)
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user