Fixed issue with non-object Gramplets
svn: r10206
This commit is contained in:
parent
0b60f234a7
commit
5585ebdf4a
@ -515,7 +515,7 @@ class GuiGramplet:
|
||||
self.gvclose.hide()
|
||||
self.gvstate.hide()
|
||||
self.gvproperties.hide()
|
||||
if len(self.pui.option_dict) > 0:
|
||||
if self.pui and len(self.pui.option_dict) > 0:
|
||||
self.gvoptions.show()
|
||||
# keep a pointer to old parent frame:
|
||||
self.parent = self.mainframe.get_parent()
|
||||
|
Loading…
Reference in New Issue
Block a user