Add sell all button to NPC trade

This commit is contained in:
Eduardo Bart
2013-02-15 16:38:57 -02:00
parent 28cdd6aa53
commit 67fc77d507
6 changed files with 65 additions and 18 deletions

View File

@@ -243,6 +243,15 @@ MainWindow
checked: true
@onCheckChange: modules.game_npctrade.onShowAllItemsChange()
Button
id: sellAllButton
!text: tr('Sell All')
width: 64
anchors.right: next.left
anchors.bottom: parent.bottom
margin-right: 10
@onClick: modules.game_npctrade.sellAll()
Button
id: tradeButton
!text: tr('Buy')