def __onQuestsUpdated(self, *args): quests = g_questsCache.getQuests() quest_helpers.updateQuestSettings(quests) newQuestsCount = len(quest_helpers.getNewQuests(quests)) if newQuestsCount: if not self.__isHighlighted: self.as_highlightControlS() else: self.as_resetControlS() self.__isHighlighted = bool(newQuestsCount)
def __onQuestsUpdated(self, *args): quest_helpers.updateQuestSettings(g_questsCache.getQuests()) self.__invalidateQuestData()