[bugfix] Calling onCurrentChanged in ViewsPanel::setViewManager. Fixes #528.