From 31ab600f6dc49267b2513f33d256f37695028569 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Mon, 7 Sep 2015 23:09:55 +0200 Subject: [PATCH] fixed a bug with the two old settings (alt and start in auc tab) that were always on --- Auctionator.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Auctionator.lua b/Auctionator.lua index 16dfd60..8f7c8ce 100644 --- a/Auctionator.lua +++ b/Auctionator.lua @@ -155,7 +155,7 @@ end function Auctionator_ContainerFrameItemButton_OnClick(button) - if (AUCTIONATOR_ENABLE_ALT == 0 + if (not AUCTIONATOR_ENABLE_ALT or not AuctionFrame:IsShown() or not IsAltKeyDown()) then @@ -458,7 +458,7 @@ function Auctionator_OnAuctionHouseShow() AuctionatorOptionsButtonPanel:Show() - if AUCTIONATOR_OPEN_FIRST ~= 0 then + if AUCTIONATOR_OPEN_FIRST then AuctionFrameTab_OnClick(AUCTIONATOR_TAB_INDEX) end