From 20567248bd636996fe7d9507aef443ee2214d8ed Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 8 Jan 2018 03:08:21 +0100 Subject: [PATCH] gui: add option to show reload requirements --- modules/gui.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/gui.lua b/modules/gui.lua index 7f35ce54..af5d5ed4 100644 --- a/modules/gui.lua +++ b/modules/gui.lua @@ -39,6 +39,10 @@ pfUI:RegisterModule("gui", function () frame:SetBackdrop(pfUI.backdrop_underline) frame:SetBackdropBorderColor(1,1,1,.15) + if not ufunc and widget ~= "header" and C.gui.reloadmarker == "1" then + caption = caption .. " [|cffffaaaa!|r]" + end + -- caption frame.caption = frame:CreateFontString("Status", "LOW", "GameFontNormal") frame.caption:SetFont(pfUI.font_default, C.global.font_size + 2, "OUTLINE") @@ -552,6 +556,7 @@ pfUI:RegisterModule("gui", function () CreateConfig(nil, this, T["Enable Offscreen Frame Positions"], C.global, "offscreen", "checkbox") CreateConfig(nil, this, T["Enable Single Line UIErrors"], C.global, "errors_limit", "checkbox") CreateConfig(nil, this, T["Disable All UIErrors"], C.global, "errors_hide", "checkbox") + CreateConfig(nil, this, T["Hightlight Settings That Require Reload"], C.gui, "reloadmarker", "checkbox") -- Delete / Reset CreateConfig(nil, this, T["Delete / Reset"], nil, nil, "header")