mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 05:53:26 +02:00
Add sell all button to NPC trade
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user