FRQDO
12/08/2018, 11:34 PMoverride 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 = …
):
button("Open") {
action {
workspace.dock(ViewB(listOfBs.selectedItem!!))
workspace.dockedComponent?.onDock() // no logging happens without this line
}
}