From 1942b3b073a1476e5bc076f35270568f15307bbe Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Mon, 21 Apr 2008 11:04:43 +0000 Subject: [PATCH] 0001963: bug on a fix: handle gramplets that aren't objects svn: r10614 --- src/DataViews/GrampletView.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DataViews/GrampletView.py b/src/DataViews/GrampletView.py index ffc7001ad..2efbdd9ed 100644 --- a/src/DataViews/GrampletView.py +++ b/src/DataViews/GrampletView.py @@ -1164,7 +1164,8 @@ class GrampletView(PageView.PersonNavView): self._popup_xy[0], self._popup_xy[1], 0) else: self.drop_widget(self.widget, gramplet, 0, 0, 0) - g.pui.update() + if g.pui: + g.pui.update() else: print "Can't make gramplet of type '%s'." % name