mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-23 20:36:44 +00:00
fix empty addresses table bug after requesting many new addresses
This commit is contained in:
parent
020ca2f312
commit
c067300ee8
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,7 @@ import com.sparrowwallet.sparrow.wallet.Entry;
|
|||
import com.sparrowwallet.sparrow.wallet.NodeEntry;
|
||||
import javafx.application.Platform;
|
||||
import javafx.beans.property.ReadOnlyObjectWrapper;
|
||||
import javafx.collections.ListChangeListener;
|
||||
import javafx.scene.control.*;
|
||||
import javafx.scene.input.MouseButton;
|
||||
|
||||
|
@ -82,6 +83,10 @@ public class AddressTreeTable extends CoinTreeTable {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
rootEntry.getChildren().addListener((ListChangeListener<Entry>) c -> {
|
||||
this.refresh();
|
||||
});
|
||||
}
|
||||
|
||||
public void updateAll(NodeEntry rootEntry) {
|
||||
|
|
Loading…
Reference in a new issue