equal
deleted
inserted
replaced
466 |
466 |
467 if ( !iListBox ) |
467 if ( !iListBox ) |
468 { |
468 { |
469 return; |
469 return; |
470 } |
470 } |
471 |
471 |
472 TInt resultCount = iFileHandler->ResultCount(); |
|
473 |
|
474 if(resultCount > 0){ |
|
475 CEikButtonGroupContainer& dialogCba = ButtonGroupContainer(); |
|
476 dialogCba.MakeCommandVisible(EAknSoftkeySelect, ETrue); |
|
477 } |
|
478 iListBox->HandleItemAdditionL(); |
472 iListBox->HandleItemAdditionL(); |
479 iListBox->SetCurrentItemIndex( 0 ); |
473 iListBox->SetCurrentItemIndex( 0 ); |
480 DrawNow(); |
474 DrawNow(); |
481 |
475 |
482 WLOG("CAudioFetcherDialog::UpdateListBoxL <"); |
476 WLOG("CAudioFetcherDialog::UpdateListBoxL <"); |
561 { |
555 { |
562 WLOG("CAudioFetcherDialog::HandleListBoxEventL"); |
556 WLOG("CAudioFetcherDialog::HandleListBoxEventL"); |
563 |
557 |
564 switch ( aEventType ) |
558 switch ( aEventType ) |
565 { |
559 { |
566 case EEventItemDoubleClicked: // fallthrough |
560 case EEventItemSingleClicked: // fallthrough |
567 case EEventEnterKeyPressed: |
561 case EEventEnterKeyPressed: |
568 { |
562 { |
569 TBool closeDialog = HandleListSelectionL(); |
563 TBool closeDialog = HandleListSelectionL(); |
570 if ( closeDialog ) |
564 if ( closeDialog ) |
571 { |
565 { |