Getting back at workspaces again: I have a workspa...
# tornadofx
f
Getting back at workspaces again: I have a workspace app that docks a
ViewA
in
onBeforeShow()
. That view has a
ListView
where each entry points to a different
B
instance. There is also a
Button
whose action will create a
ViewB
for the selected
B
and
dock()
it. However,
ViewB::onDock
isn’t invoked unless I explicitly follow up with
workspace.dockedComponent?.onDock()
. What am I missing? (I just checked: I’m on TornadoFX 1.7.17, so this should be the current version)