Filters the key press event on the editor object to look for backspace
        key strokes on blank editors to remove previous tags.
        
        :param      object | <QObject>
                    event | <QEvent>
        
        :return     <bool> | consumed

def eventFilter(self, object, event):
        """
        Filters the key press event on the editor object to look for backspace
        key strokes on blank editors to remove previous tags.
        
        :param      object | <QObject>
                    event | <QEvent>
        
        :return     <bool> | consumed
        """
        if event.type() == event.KeyPress:
            if event.key() == Qt.Key_Backspace:
                is_line_edit = isinstance(object, QLineEdit)
                if not (is_line_edit and object.text()):
                    if self.count() > 1:
                        self.takeItem(self.count() - 2)
                        object.setFocus()
            
            elif event.key() in (Qt.Key_Return, Qt.Key_Enter):
                self.finishEditing(object.text())
                return True
        
            
        return False