fix profile name not updating (#1)

This commit is contained in:
Anthony Narkevicius
2023-04-07 03:25:56 -07:00
committed by GitHub
parent b27c043acb
commit 3b440fb15f
+3
View File
@@ -1225,6 +1225,9 @@ function Clique:ButtonOnClick(button)
local selected = self.textlistSelected - offset
local button = getglobal("CliqueTextList"..selected)
self.db:SetProfile(button.name:GetText())
if CliqueFrame then
CliqueFrame.title:SetText("Clique v. " .. self.version .. " - " .. tostring(self.db.keys.profile));
end
elseif button == CliqueButtonNewProfile then
StaticPopup_Show("CLIQUE_NEW_PROFILE")
elseif button == CliqueButtonDeleteProfile then