mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
fix txtree selection bug when preselecting a txi/txo on opening the editor for the first time
This commit is contained in:
parent
adcddfa84d
commit
4f6ead842d
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ public class TransactionController implements Initializable {
|
|||
});
|
||||
|
||||
if(initialView != null) {
|
||||
setTreeSelection(initialView, initialIndex);
|
||||
Platform.runLater(() -> setTreeSelection(initialView, initialIndex));
|
||||
} else {
|
||||
txtree.getSelectionModel().select(txtree.getRoot());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue