From 3b440fb15fc69f7c7e25c5fcee39a276eb550482 Mon Sep 17 00:00:00 2001 From: Anthony Narkevicius Date: Fri, 7 Apr 2023 03:25:56 -0700 Subject: [PATCH] fix profile name not updating (#1) --- Clique/CliqueOptions.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Clique/CliqueOptions.lua b/Clique/CliqueOptions.lua index b29161a..3b9741c 100644 --- a/Clique/CliqueOptions.lua +++ b/Clique/CliqueOptions.lua @@ -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