mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-03-26 17:51:46 +01:00
update mix to button when wallet label is changed
This commit is contained in:
parent
631f5d48df
commit
dd5278f442
@ -1879,7 +1879,7 @@ public class AppController implements Initializable {
|
||||
if(optButtonType.isPresent() && optButtonType.get() == ButtonType.OK) {
|
||||
subTabs.getTabs().remove(subTab);
|
||||
if(subTabs.getTabs().size() == 1) {
|
||||
setSubTabsVisible(subTabs, false);
|
||||
setSubTabsVisible(subTabs, areSubTabsVisible());
|
||||
}
|
||||
EventManager.get().post(new WalletDeletedEvent(wallet));
|
||||
}
|
||||
|
@ -601,6 +601,11 @@ public class UtxosController extends WalletFormController implements Initializab
|
||||
Platform.runLater(this::updateMixToButton);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
public void walletLabelChanged(WalletLabelChangedEvent event) {
|
||||
Platform.runLater(this::updateMixToButton);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
public void whirlpoolMix(WhirlpoolMixEvent event) {
|
||||
if(event.getWallet().equals(walletForm.getWallet())) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user