Don't crash when clicking don't show again

Contributes to CL-1222
This commit is contained in:
Ian Paschal 2019-02-13 11:04:51 +01:00
parent c15e49876a
commit 8fecf7fb39

View file

@ -488,7 +488,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
active_machine.setMetaDataEntry("cloud_flow_complete", True)
return
def _onDontAskMeAgain(self, messageId: str, checked: bool) -> None:
def _onDontAskMeAgain(self, messageId: str) -> None:
active_machine = self._application.getMachineManager().activeMachine # type: Optional["GlobalStack"]
if active_machine:
active_machine.setMetaDataEntry("show_cloud_message", False)