some minor fixes for the post panel

This commit is contained in:
Manuel Simon Hirsig
2015-11-04 23:05:49 +01:00
parent 01c3181f77
commit 83d4f75119
+3 -1
View File
@@ -329,7 +329,7 @@ function Aux.sell.validate_parameters()
end
if MoneyInputFrame_GetCopper(AuxSellParametersBuyoutPrice) > 0 and MoneyInputFrame_GetCopper(AuxSellParametersStartPrice) > MoneyInputFrame_GetCopper(AuxSellParametersBuyoutPrice) then
AuxSellParametersBuyoutPriceErrorText:Show()
-- AuxSellParametersBuyoutPriceErrorText:Show()
return
end
@@ -357,6 +357,8 @@ function update_recommendation()
AuxSellStackSize:SetNumber(0)
AuxSellStackCountSlider:SetMinMaxValues(0,0)
AuxSellStackCount:SetNumber(0)
MoneyFrame_Update('AuxSellParametersDepositMoneyFrame', 0)
else
AuxSellStackSize:SetNumber(current_auction.charges and AuxSellStackSizeSlider.charge_classes[AuxSellStackSizeSlider:GetValue()] or AuxSellStackSizeSlider:GetValue())
AuxSellStackCount:SetNumber(AuxSellStackCountSlider:GetValue())