fix txtree selection bug when preselecting a txi/txo on opening the editor for the first time
@@ -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());
}
