mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
dont allow double click to receive on whirlpool wallet
This commit is contained in:
parent
2548e77d90
commit
4ebee8a8f3
1 changed files with 14 additions and 12 deletions
|
@ -68,6 +68,7 @@ public class AddressTreeTable extends CoinTreeTable {
|
|||
}
|
||||
}
|
||||
|
||||
if(!rootEntry.getWallet().isWhirlpoolChildWallet()) {
|
||||
setOnMouseClicked(mouseEvent -> {
|
||||
if(mouseEvent.getButton().equals(MouseButton.PRIMARY)){
|
||||
if(mouseEvent.getClickCount() == 2) {
|
||||
|
@ -83,6 +84,7 @@ public class AddressTreeTable extends CoinTreeTable {
|
|||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
rootEntry.getChildren().addListener((ListChangeListener<Entry>) c -> {
|
||||
this.refresh();
|
||||
|
|
Loading…
Reference in a new issue