Ticket #2220: TextView.diff

File TextView.diff, 814 bytes (added by shinta, 17 years ago)

This patch fixes this problem.

  • src/kits/interface/TextView.cpp

     
    45684568    _BInlineInput_ *inlineInput = fInline;
    45694569    fInline = NULL;
    45704570
    4571     if (inlineInput->IsActive() && Window())
     4571    if (inlineInput->IsActive() && Window()) {
    45724572        _Refresh(inlineInput->Offset(), fText->Length() - inlineInput->Offset(), true, false);
    45734573
    4574     BMessage message(B_INPUT_METHOD_EVENT);
    4575     message.AddInt32("be:opcode", B_INPUT_METHOD_STOPPED);
    4576     inlineInput->Method()->SendMessage(&message);
     4574        BMessage message(B_INPUT_METHOD_EVENT);
     4575        message.AddInt32("be:opcode", B_INPUT_METHOD_STOPPED);
     4576        inlineInput->Method()->SendMessage(&message);
     4577    }
    45774578
    45784579    delete inlineInput;
    45794580}