fix: refresh learner settings live

This commit is contained in:
Xurkon
2026-06-06 12:19:23 -05:00
parent dd630fd1e9
commit a1c6a181fc
4 changed files with 73 additions and 0 deletions
@@ -316,6 +316,7 @@ function QuestieOptions.tabs.database:Initialize()
set = function(_, v)
if Questie.dbLearner.global and Questie.dbLearner.global.settings then
Questie.dbLearner.global.settings.learnNpcs = v
ApplyLearnerMode()
end
end,
},
@@ -329,6 +330,7 @@ function QuestieOptions.tabs.database:Initialize()
set = function(_, v)
if Questie.dbLearner.global and Questie.dbLearner.global.settings then
Questie.dbLearner.global.settings.learnQuests = v
ApplyLearnerMode()
end
end,
},
@@ -342,6 +344,7 @@ function QuestieOptions.tabs.database:Initialize()
set = function(_, v)
if Questie.dbLearner.global and Questie.dbLearner.global.settings then
Questie.dbLearner.global.settings.learnObjects = v
ApplyLearnerMode()
end
end,
},
@@ -355,6 +358,7 @@ function QuestieOptions.tabs.database:Initialize()
set = function(_, v)
if Questie.dbLearner.global and Questie.dbLearner.global.settings then
Questie.dbLearner.global.settings.learnItems = v
ApplyLearnerMode()
end
end,
},