mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
minor fixes
This commit is contained in:
parent
8f63d89be8
commit
b6f047d382
2 changed files with 3 additions and 3 deletions
|
@ -123,7 +123,7 @@ public class UtxosController extends WalletFormController implements Initializab
|
||||||
AppServices.onlineProperty().addListener(new WeakChangeListener<>(mixingOnlineListener));
|
AppServices.onlineProperty().addListener(new WeakChangeListener<>(mixingOnlineListener));
|
||||||
|
|
||||||
utxosTable.getSelectionModel().getSelectedIndices().addListener((ListChangeListener<Integer>) c -> {
|
utxosTable.getSelectionModel().getSelectedIndices().addListener((ListChangeListener<Integer>) c -> {
|
||||||
List<Entry> selectedEntries = utxosTable.getSelectionModel().getSelectedCells().stream().map(tp -> tp.getTreeItem().getValue()).collect(Collectors.toList());
|
List<Entry> selectedEntries = utxosTable.getSelectionModel().getSelectedCells().stream().filter(tp -> tp.getTreeItem() != null).map(tp -> tp.getTreeItem().getValue()).collect(Collectors.toList());
|
||||||
utxosChart.select(selectedEntries);
|
utxosChart.select(selectedEntries);
|
||||||
updateButtons(Config.get().getBitcoinUnit());
|
updateButtons(Config.get().getBitcoinUnit());
|
||||||
});
|
});
|
||||||
|
|
|
@ -63,8 +63,8 @@ public class SparrowIndexHandler extends AbstractIndexHandler {
|
||||||
} else if(walletNode.getKeyPurpose() == KeyPurpose.CHANGE) {
|
} else if(walletNode.getKeyPurpose() == KeyPurpose.CHANGE) {
|
||||||
wallet.getMixConfig().setChangeIndex(index);
|
wallet.getMixConfig().setChangeIndex(index);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
EventManager.get().post(new WalletMixConfigChangedEvent(wallet));
|
EventManager.get().post(new WalletMixConfigChangedEvent(wallet));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue