mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-10 08:37:05 +00:00
fix txtree selection bug when preselecting a txi/txo on opening the editor for the first time
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user