def on_errorInfoBtn_clicked(self, event): """Open a dialog with information about currently selected error. The text can be copied, so to inform the user who made the error """ if not hasattr(self, "errorInfoDlg"): self.errorInfoDlg = ErrorInfoDialog(self) self.errorInfoDlg.update()