'Reimplemented to avoid formatting actions'

def validate(self, qstr, editing=True):

    valid = self.is_valid(qstr)
    if (self.hasFocus() and (valid is not None)):
        if editing:
            self.show_tip(self.tips[valid])
            self.valid.emit(False, False)
        elif valid:
            self.selected()
        else:
            self.valid.emit(False, False)
