def updateController(self, controller):
        if self.controller == controller:
            return
        self.controller = controller
        self.versionNotes.controller = controller
        self.versionThumbs.controller = controller
        self.versionMashups.controller = controller
        if controller is not None:
            self.updateVersion(controller.current_version)
        else:
            self.updateVersion(-1)
updateController(controller: VistrailController) -> None
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/version_prop.py/QVersionProp.updateController