mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
fix: save character config when quest tracking changes
setQuestTracked() modified trackedQuestIds_ but didn't call saveCharacterConfig(), so tracked quests were only persisted if another action (like editing a macro or rearranging the action bar) happened to trigger a save before logout. Now saves immediately when quests are tracked or untracked.
This commit is contained in:
parent
d9ab1c8297
commit
503115292b
1 changed files with 1 additions and 0 deletions
|
|
@ -1629,6 +1629,7 @@ public:
|
|||
void setQuestTracked(uint32_t questId, bool tracked) {
|
||||
if (tracked) trackedQuestIds_.insert(questId);
|
||||
else trackedQuestIds_.erase(questId);
|
||||
saveCharacterConfig();
|
||||
}
|
||||
const std::unordered_set<uint32_t>& getTrackedQuestIds() const { return trackedQuestIds_; }
|
||||
bool isQuestQueryPending(uint32_t questId) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue