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)
 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)
Example #3
0
 def enterVisible(self):
     SCTerminal.enterVisible(self)
     if self.__ltHasAccess():
         # if the emote enable state has changed since the last time
         # we were finalized, invalidate
         if hasattr(self, 'lastEmoteEnableState'):
             if self.lastEmoteEnableState != self.__emoteEnabled():
                 self.invalidate()
                 
         if not self.isWhispering():
             self.accept(Emote.globalEmote.EmoteEnableStateChanged,
                         self.__emoteEnableStateChanged)