From 69d0926c7b87d08b5b27da032dbdfe1b46fdf8b1 Mon Sep 17 00:00:00 2001 From: treliss Date: Sun, 24 Jul 2016 14:13:47 -0700 Subject: [PATCH] Fixed ticket 834 Show offline option broken. Thanks Samuelreus. Fixed ticket 833 Layout none in non-English locale. Thanks Elnarfim. Mark code for splitGroups as debug in Layouts because the option is marked as debug. Should fix odd behavior for people who had option enabled before the option was disabled. --- CHANGELOG.md | 9 +++++++++ Layout.lua | 4 ++-- Layouts.lua | 4 ++++ 3 files changed, 15 insertions(+), 2 deletions(-) mode change 100644 => 100755 Layout.lua mode change 100644 => 100755 Layouts.lua diff --git a/CHANGELOG.md b/CHANGELOG.md index 33420f2..bd95d76 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +### Version 7.0.3.1 + +* Fixed ticket 834 Show offline option broken. Thanks Samuelreus. +* Fixed ticket 833 Layout none in non-English locale. Thanks Elnarfim. +* Package with libraries should include new LibResInfo for ticket 828. +* Mark code for splitGroups as debug in Layouts because the option is marked + as debug. Should fix odd behavior for people who had option enabled before + the option was disabled. + ### Version 7.0.3.0-beta * Updated for WoW 7.0 (Legion) diff --git a/Layout.lua b/Layout.lua old mode 100644 new mode 100755 index 6c9ed72..3532efd --- a/Layout.lua +++ b/Layout.lua @@ -557,7 +557,7 @@ GridLayout.options = { width = "double", type = "toggle", set = function(info, v) - GridLayout.db.profile.showOffile = v + GridLayout.db.profile.showOffline = v GridLayout:GetModule("GridLayoutManager"):UpdateLayouts() end, }, @@ -1136,7 +1136,7 @@ end function GridLayout:UpdateVisibility() --self:Debug("UpdateVisibility") - if self.db.profile.layouts[(GridRoster:GetPartyState())] == L["None"] then + if self.db.profile.layouts[(GridRoster:GetPartyState())] == "None" then self.frame.backdrop:Hide() else self.frame.backdrop:Show() diff --git a/Layouts.lua b/Layouts.lua old mode 100644 new mode 100755 index 69b6e99..94f45c7 --- a/Layouts.lua +++ b/Layouts.lua @@ -243,13 +243,17 @@ function Manager:UpdateLayouts(event) lastShowPets = showPets -- Update class and role layouts +--@debug@ if splitGroups then UpdateSplitGroups(Layouts.ByClass, numGroups, showPets) UpdateSplitGroups(Layouts.ByRole, numGroups, showPets) else +--@end-debug@ UpdateMergedGroups(Layouts.ByClass, numGroups, showPets) UpdateMergedGroups(Layouts.ByRole, numGroups, showPets) +--@debug@ end +--@end-debug@ -- By group should always be split group UpdateSplitGroups(Layouts.ByGroup, usedGroups, showPets)