Skip to content

Commit

Permalink
last bug fixes before release
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKrowi committed Jun 25, 2022
1 parent 5737ffe commit 1a2b9c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ All notable changes to this project will be documented in this file.
- Allied race achievements now have a faction tied to them
- Split the Event Reminders Events tab into separate tabs per event type

### Fixed
- Error when selecting a differnt preset for the start time and end time for the event reminders
- Error when deselecting objectives progress

### Removed
- Torcanata because it's a tracking achievement

Expand Down
2 changes: 1 addition & 1 deletion Options/EventReminders.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ local function GetStartTimeAndEndTimePresets()
end

local function SetStartTimeAndEndTimePresets(_, value)
local custom = LibStub("AceConfigRegistry-3.0"):GetOptionsTable(addon.MetaData.Title, "cmd", "KROWIAF-0.0").args.EventReminders.args.DateTimeFormat.args.StartTimeAndEndTimeCustom; -- cmd and KROWIAF-0.0 are just to make the function work
local custom = LibStub("AceConfigRegistry-3.0"):GetOptionsTable(addon.L["Event Reminders"], "cmd", "KROWIAF-0.0").args.DateTimeFormat.args.StartTimeAndEndTime.args.StartTimeAndEndTimeCustom; -- cmd and KROWIAF-0.0 are just to make the function work
custom.set(nil, startTimeAndEndTimeDateTimeFormats[value]);
options.Debug(addon.L["Presets"], addon.Options.db.EventReminders.DateTimeFormat.StartTimeAndEndTime);
end
Expand Down
2 changes: 1 addition & 1 deletion Options/Layout.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ end

local function SetObjectivesProgressShow()
addon.Options.db.Tooltip.Achievements.ObjectivesProgress.Show = not addon.Options.db.Tooltip.Achievements.ObjectivesProgress.Show;
local objectivesProgressShowWhenAchievementCompleted = LibStub("AceConfigRegistry-3.0"):GetOptionsTable(addon.MetaData.Title, "cmd", "KROWIAF-0.0").args.Layout.args.Tooltip.args.ObjectivesProgressShowWhenAchievementCompleted; -- cmd and KROWIAF-0.0 are just to make the function work
local objectivesProgressShowWhenAchievementCompleted = LibStub("AceConfigRegistry-3.0"):GetOptionsTable(addon.L["Layout"], "cmd", "KROWIAF-0.0").args.Achievements.args.Tooltip.args.ObjectivesProgressShowWhenAchievementCompleted; -- cmd and KROWIAF-0.0 are just to make the function work
objectivesProgressShowWhenAchievementCompleted.disabled = not addon.Options.db.Tooltip.Achievements.ObjectivesProgress.Show;
options.Debug(addon.L["Show Objectives progress"], addon.Options.db.Tooltip.Achievements.ObjectivesProgress.Show);
end
Expand Down

0 comments on commit 1a2b9c0

Please sign in to comment.