mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-07 00:39:13 +07:00
Reset buy/sell to unchecked state when config called
This commit is contained in:
@ -242,6 +242,8 @@ public class VendorPanel extends WidgetGroup implements Disposable {
|
||||
}
|
||||
|
||||
public void config(int flags) {
|
||||
btnBuy.setChecked(false);
|
||||
btnSell.setChecked(false);
|
||||
btnBuy.setVisible((flags & BUY) == BUY);
|
||||
btnSell.setVisible((flags & SELL) == SELL);
|
||||
btnRepair.setVisible((flags & REPAIR) == REPAIR);
|
||||
|
Reference in New Issue
Block a user