Cancels the edit for this label.

def rejectEdit(self):
        """
        Cancels the edit for this label.
        """
        if self._lineEdit:
            self._lineEdit.hide()
            self.editingCancelled.emit()