Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/tornadofx/Component.kt
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ abstract class Component : Configurable {
val properties by lazy { FXCollections.observableHashMap<Any, Any>() }
val log by lazy { Logger.getLogger(this@Component.javaClass.name) }

val app: App get() = FX.application as App
val app: App get() = FX.getApplication(scope) as App

private val _messages: SimpleObjectProperty<ResourceBundle> = object : SimpleObjectProperty<ResourceBundle>() {
override fun get(): ResourceBundle? {
Expand Down