def onTextErrorDetailsClick(self, event): errorwin.showErrorDetailsDlg(self, self.errors.getDetails(), _('Error'))
def onTextErrorDetailsClick(self, event): if self.selectedTask: details = self.selectedTask.errors.getDetails() errorwin.showErrorDetailsDlg(self, details, _('Error'))