>what happens for you with this recipe? : >1. newfile, ctrl+m >2. hit two keys \a >3. immediately (before popup appears) hit tab > >(before this patch 'acute' gets completed on first hit >and accepted on second hit). now this stops work, so completion >completion > >pavel This solves your problem, doesn't it ? // intercept keys for the completion if ( completer_->completionAvailable() && ev->key() == Qt::Key_Tab) { completer_->tab(); ev->accept(); return; }
Vincent