4420 | | // If we find the "be:confirmed" boolean (and the boolean is true), |
4421 | | // it means it's over for now, so the current _BInlineInput_ object |
4422 | | // should become inactive. We will probably receive a B_INPUT_METHOD_STOPPED |
4423 | | // message after this one. |
4424 | | bool confirmed = false; |
4425 | | if (message->FindBool("be:confirmed", &confirmed) == B_OK && confirmed) { |
4426 | | fInline->SetActive(false); |
4427 | | Refresh(0, fInline->Offset() + fInline->Length(), true, false); |
4428 | | return; |
4429 | | } |
4430 | | |
| 4459 | // If we find the "be:confirmed" boolean (and the boolean is true), |
| 4460 | // it means it's over for now, so the current _BInlineInput_ object |
| 4461 | // should become inactive. We will probably receive a B_INPUT_METHOD_STOPPED |
| 4462 | // message after this one. |
| 4463 | bool confirmed = false; |
| 4464 | if (message->FindBool("be:confirmed", &confirmed) == B_OK && confirmed) { |
| 4465 | fInline->SetActive(false); |
| 4466 | Refresh(0, fInline->Offset() + fInline->Length(), true, false); |
| 4467 | return; |
| 4468 | } |
| 4469 | |