<@U25U0KPFT> I have this in my `ViewB`: ``` ov...
# tornadofx
f
@carlw I have this in my `ViewB`:
Copy code
override fun onDock() {
        <http://log.info|log.info>("Call to onDock")
    }
And this is where the docking is supposed to happen in
ViewA
(in
override val root = …
):
Copy code
button("Open") {
        action {
            workspace.dock(ViewB(listOfBs.selectedItem!!))
            workspace.dockedComponent?.onDock() // no logging happens without this line
        }
    }