- self.onShown.append(self["ErrorPixmap"].hideWidget)
- elif type != self.TYPE_YESNO:
- self.onShown.append(self["QuestionPixmap"].hideWidget)
- elif type != self.TYPE_INFO:
- self.onShown.append(self["InfoPixmap"].hideWidget)
+ self["ErrorPixmap"].hide()
+ if type != self.TYPE_YESNO:
+ self["QuestionPixmap"].hide()
+ if type != self.TYPE_INFO:
+ self["InfoPixmap"].hide()