From f7835ece59455637d2c4a6d13563ca24373876e5 Mon Sep 17 00:00:00 2001 From: "shubert.aleksandr" Date: Thu, 19 Dec 2013 16:24:56 +0400 Subject: [PATCH] toggle key setting doesn't save --- ui/main_options.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/main_options.lua b/ui/main_options.lua index d46347a..5119f37 100644 --- a/ui/main_options.lua +++ b/ui/main_options.lua @@ -84,7 +84,7 @@ local ShowWatchLevel = newCheckbox("WatchLevel", L["watchlevel"], "watchlevel") -- Auto toggle key local ToggleKeyConst = {NONE_KEY, ALT_KEY, CTRL_KEY, SHIFT_KEY} -local ToggleKeyDropDown = newDropDown(L["togglekey"], "ToggleKeyDropDown", ToggleKeyConst, "ToggleKeyConst") +local ToggleKeyDropDown = newDropDown(L["togglekey"], "ToggleKeyDropDown", ToggleKeyConst, "togglekey") -- Quest types to handle local QuestConst = {L["questTypeAll"], L["questTypeList"], L["questTypeExceptDaily"]} local QuestDropDown = newDropDown(L["questTypeLabel"], "QuestDropDown", QuestConst, "all") -- self:GetID() == 1 @@ -145,7 +145,7 @@ OptionsPanel.refresh = function() ShareQuests:SetChecked(ptable.TempConfig.questshare) UIDropDownMenu_SetSelectedID(ToggleKeyDropDown, ptable.TempConfig.togglekey) - UIDropDownMenu_SetText(ToggleKeyDropDown, ToggleKeyConst[ptable.TempConfig.togglekey]) + UIDropDownMenu_SetText(ToggleKeyDropDown, ToggleKeyConst[ptable.TempConfig.togglekey]) MakeACopy = true end -- 1.7.9.5