Minor fix to scroll bar

This commit is contained in:
BeniS
2013-02-20 15:03:45 +13:00
parent 3b9acab7a1
commit b61094c053
4 changed files with 11 additions and 8 deletions

View File

@@ -1082,7 +1082,7 @@ function Market.onMarketEnter(depotItems, offers, balance, vocation)
if player then
information.player = player
end
if vocation < 0 then
if vocation == -1 then
if player then
information.vocation = player:getVocation()
end

View File

@@ -21,7 +21,6 @@ AmountWindow < MainWindow
anchors.top: prev.top
margin-left: 10
margin-top: -2
focusable: false
Button
id: buttonCancel