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