def enterVisible(self): SCTerminal.enterVisible(self) if self.__ltHasAccess(): if hasattr(self, 'lastEmoteEnableState'): if self.lastEmoteEnableState != self.__emoteEnabled(): self.invalidate() if not self.isWhispering(): self.accept(Emote.globalEmote.EmoteEnableStateChanged, self.__emoteEnableStateChanged)