Fix deprecated Workspace::getActiveEditor call