diff --git a/ui/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/model/AccountsRootTreeItem.kt b/ui/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/model/AccountsRootTreeItem.kt index c95d8666..7c454a8e 100755 --- a/ui/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/model/AccountsRootTreeItem.kt +++ b/ui/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/model/AccountsRootTreeItem.kt @@ -13,7 +13,7 @@ open class AccountsRootTreeItem(accounts: ObservableList) : AccountsTre init { setAccounts(accounts) - accounts.addListener(ListChangeListener { c -> + accounts.addListener(ListChangeListener { runLater { setAccounts(accounts) } }) }