From 9589d948fcc72723284a8539525c2bab86523c6e Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Thu, 29 Oct 2009 13:49:49 -0500 Subject: [PATCH] Keep the current weight selected after restoring default weights --- config.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.lua b/config.lua index 925c8d7..1ad74df 100644 --- a/config.lua +++ b/config.lua @@ -25,7 +25,9 @@ StaticPopupDialogs["WW_CONFIRM_RESTORE_DEFAULTS"] = { setWeight(class, weight, defaultVars.weightsList[class][weight]) end end - ww_config.rightPanel:Hide() + if ww_config.rightPanel:IsShown() then + configSelectWeight(ww_config.rightPanel.weightFrame) + end end, showAlert = true, timeout = 0, -- 1.7.9.5