~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to src/plugins/texteditor/codeassist/genericproposalwidget.cpp

  • Committer: Timo Jyrinki
  • Date: 2013-12-02 09:16:15 UTC
  • mfrom: (1.1.29)
  • Revision ID: timo.jyrinki@canonical.com-20131202091615-xbj1os1f604ber1m
New upstream release candidate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
443
443
    if (d->m_model->size() == 0
444
444
            || (!d->m_model->keepPerfectMatch(d->m_reason)
445
445
                && isPerfectMatch(prefix, d->m_model))) {
 
446
        d->m_completionListView->reset();
446
447
        abort();
447
448
        return false;
448
449
    }
474
475
        if (d->m_model->size() == 1) {
475
476
            IAssistProposalItem *item = d->m_model->proposalItem(0);
476
477
            if (item->implicitlyApplies()) {
 
478
                d->m_completionListView->reset();
477
479
                abort();
478
480
                emit proposalItemActivated(item);
479
481
                return false;