

def reset(self, window):
    'The user cancelled the action - give the focus back to the "calling" view and clear the context'
    self.__close_preview(window)
    self.__clear_context()

dataset/ETHPy150Open FichteFoll/FileHistory/file_history.py FileHistory.reset/original