fix crash when adding microsoft account

This commit is contained in:
Bixilon 2022-01-12 22:41:27 +01:00
parent a4b15ca7bb
commit f53760ff90
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -37,7 +37,10 @@ class MicrosoftAddController(
fun show() {
JavaFXUtil.openModalAsync(TITLE, LAYOUT, this, modality = Modality.APPLICATION_MODAL) { stage.show() }
JavaFXUtil.runLater {
JavaFXUtil.openModal(TITLE, LAYOUT, this, modality = Modality.APPLICATION_MODAL)
stage.show()
}
}
override fun init() {